필자의 gnuplot을 가독성을 위해 누적 플롯으로 나누려고합니다. 나는 마력과 토크 데이터가 같은 플롯에 있고 다른 데이터가이 아래의 스택 된 플롯에 별도로 표시되도록하고 싶습니다. 모두 동일한 X 축에 의해 정렬됩니다. 정렬의이 같은 :gnuplot complex stacked plots
http://abloriginalparts.com/pb/wp_2f5b1e2e/images/img1226948967fe0ad9dc.JPG
나는 multiplot의 변화를 시도했지만 제대로 표시 할 일을 얻을 수없는 것. 여기에 nonmultiplot 버전입니다 :
여기http://i1347.photobucket.com/albums/p715/balaguru42/dyno_zpsc0213c60.png
set term png
set y2range [-5:40]
set y2tics
set ytics nomirror
set xlabel 'RPM'
set ylabel 'Torque/Power'
set y2label 'AFR/Timing/Boost/MAF'
set key bottom
InRange(x)=((x>0) ? x : 1/0)
ConvertMap(x)=(x-1) * 14.5
ConvertMapDelta(x)=x * 14.5
ConvertMaf(x)=x * 3
ConvertMafDelta(x)=x * 3
set output "output/dyno.png"
plot \
"output/dyno.dat" using 1:(InRange($2)):3 \
with yerrorbars title 'Torque (ft-lbs)', \
"output/dyno.dat" using 1:(InRange($4)):5 \
with yerrorbars title 'Power (hp)', \
"output/dyno.dat" using 1:(InRange($6)):7 \
with yerrorbars axes x1y2 title 'AFR', \
"output/dyno.dat" using 1:(InRange($8)):9 \
with yerrorbars axes x1y2 title 'Ignition (deg)', \
"output/dyno.dat" using 1:(InRange($10)):11 \
with yerrorbars axes x1y2 title 'Intake (deg)', \
"output/dyno.dat" using 1:(InRange(ConvertMap($12))):(ConvertMapDelta($13)) \
with yerrorbars axes x1y2 title 'Boost (psi)', \
"output/dyno.dat" using 1:(InRange(ConvertMaf($16))):(ConvertMafDelta($17)) \
with yerrorbars axes x1y2 title 'MAF (V x 3)'