327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
|
2D {
disable_rotationbar
switch -- \$plottype {
Single {
do_cmd "set xlabel '\$xtitle'"
do_cmd "set ylabel '\$ytitle'"
do_cmd "set nokey"
do_cmd "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines"
}
Multi {
do_cmd "set xlabel ''"
do_cmd "set ylabel ''"
do_cmd "set key"
if {"\$lastplot" != "2D"} {
do_cmd "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines"
} else {
do_cmd "replot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines"
}
}
}
}
3D {
enable_rotationbar
switch -- \$plottype {
Single {
do_cmd "set xlabel '\$xtitle'"
do_cmd "set ylabel '\$ytitle'"
do_cmd "set zlabel '\$ztitle'"
do_cmd "set nokey"
do_cmd "splot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' with lines"
}
Multi {
do_cmd "set xlabel ''"
do_cmd "set ylabel ''"
do_cmd "set zlabel ''"
do_cmd "set key"
if {"\$lastplot" != "3D"} {
do_cmd "splot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' with lines"
} else {
do_cmd "replot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' with lines"
}
}
}
}
}
set lastplot \$dimension
}
|
|
|
|
|
|
|
|
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
|
2D {
disable_rotationbar
switch -- \$plottype {
Single {
do_cmd "set xlabel '\$xtitle'"
do_cmd "set ylabel '\$ytitle'"
do_cmd "set nokey"
do_cmd "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' "
}
Multi {
do_cmd "set xlabel ''"
do_cmd "set ylabel ''"
do_cmd "set key"
if {"\$lastplot" != "2D"} {
do_cmd "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' "
} else {
do_cmd "replot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' "
}
}
}
}
3D {
enable_rotationbar
switch -- \$plottype {
Single {
do_cmd "set xlabel '\$xtitle'"
do_cmd "set ylabel '\$ytitle'"
do_cmd "set zlabel '\$ztitle'"
do_cmd "set nokey"
do_cmd "splot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' "
}
Multi {
do_cmd "set xlabel ''"
do_cmd "set ylabel ''"
do_cmd "set zlabel ''"
do_cmd "set key"
if {"\$lastplot" != "3D"} {
do_cmd "splot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' "
} else {
do_cmd "replot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' "
}
}
}
}
}
set lastplot \$dimension
}
|
556
557
558
559
560
561
562
563
564
565
|
set zcolumn 1 ; set ztitle "Time"
do_cmd "set timestamp"
do_cmd "set grid"
do_cmd "set nopolar"
do_cmd "set term X11 0"
do_cmd "set key"
EOF
chmod +x ${out}
|
>
|
556
557
558
559
560
561
562
563
564
565
566
|
set zcolumn 1 ; set ztitle "Time"
do_cmd "set timestamp"
do_cmd "set grid"
do_cmd "set nopolar"
do_cmd "set term X11 0"
do_cmd "set key"
do_cmd "set data style lines"
EOF
chmod +x ${out}
|