Overview
Comment:Now sets default data style (lines) at initialisation so that it can be
changed by the user using "set data style dots", etc. at the command line.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 3b6ef1ea30e85f42e7c194d1806806386b0049b5274a29ee2a450c5c3f01b81b
User & Date: geraint@users.sourceforge.net on 2003-02-13 11:57:35
Other Links: branch diff | manifest | tags
Context
2003-02-21
09:17:16
*** empty log message *** check-in: a9445f4704 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-02-13
11:57:35
Now sets default data style (lines) at initialisation so that it can be
changed by the user using "set data style dots", etc. at the command line.
check-in: 3b6ef1ea30 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-02-12
01:28:27
*** empty log message *** check-in: 388ea87da8 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/struc2gnuplot_txt2wish from [827a76e733] to [3e5195f2a2].

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
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"
		    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' with lines"
			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' with lines"	    
			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' with lines"
		    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' with lines"
			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' with lines"
			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
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}


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]