Overview
Comment: | Refined rotation bar. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c254a2279da12b61d7e4a2eea8a74cb6 |
User & Date: | geraint@users.sourceforge.net on 2002-07-20 14:19:14 |
Other Links: | branch diff | manifest | tags |
Context
2002-07-22
| ||
10:06:41 | Stopped make from reporting an error when application is closed. check-in: eb397570aa user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-07-20
| ||
14:19:14 | Refined rotation bar. check-in: c254a2279d user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-07-19
| ||
20:28:28 | Added preliminary 3D rotation. check-in: bead94a31b user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/struc2gnuplot_txt2wish from [df61ed3cec] to [9e7d64559f].
︙ | |||
144 145 146 147 148 149 150 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | - - + + + + + + + + + + + + + + + | pack .plotbar.dim -expand false -fill x -side right pack .plotbar.plot -expand false -fill x -side right pack .plotbar.select -expand false -fill x -side right # button bar canvas .buttonbar |
︙ | |||
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | + + | global ytitle global ztitle global dimension global plottype global lastplot switch -- \$dimension { 2D { disable_rotationbar switch -- \$plottype { Single { puts "set xlabel '\$xtitle'" puts "set ylabel '\$ytitle'" puts "set nokey" puts "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines" } Multi { puts "set xlabel ''" puts "set ylabel ''" puts "set key" if {"\$lastplot" != "2D"} { puts "plot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines" } else { puts "replot '${dat2}' using \$xcolumn:\$ycolumn title 'y:\$ytitle x:\$xtitle' with lines" } } } } 3D { enable_rotationbar switch -- \$plottype { Single { puts "set xlabel '\$xtitle'" puts "set ylabel '\$ytitle'" puts "set zlabel '\$ztitle'" puts "set nokey" puts "splot '${dat2}' using \$xcolumn:\$ycolumn:\$zcolumn title 'z:\$ztitle y:\$ytitle x:\$xtitle' with lines" |
︙ | |||
477 478 479 480 481 482 483 | 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 | - - - - - - - - - - - - - - - - - - - - + | if {"\$get_scale_status" == "ok"} { return "\$get_scale_retval" } else { return "" } } |
︙ |
Modified mttroot/mtt/lib/rep/gnuplot_rep.make from [cb814bcb10] to [1f957a8152].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | # -*-makefile-*- # create a gnuplot input file MTTFLAGS = $(OPTS) all: $(SYS)_gnuplot.$(LANG) $(SYS)_gnuplot.view: $(SYS)_gnuplot.wish $(SYS)_odes.dat2 |
︙ |