|
From: Ethan M. <merritt@u.washington.edu> - 2006-05-16 20:01:24
|
On Sunday 14 May 2006 01:10 pm, Petr Mikulik wrote: > > I have implemented it as you've proposed, see SF patch > 1488448 User-available GPVAL_ variables > > Type > show var all > to display those variables related to the last plot. It looks basically reasonable to me. There are some rough edges though: %%%%%%% How to handle time data on axes? %%%%%%%%%%%%%%%%%% Terminal type set to 'wxt' gnuplot> load 'timedat.dem' Hit return to continue gnuplot> show xrange set xdata time set xrange [ "01/06/93\t0000" : "01/11/93\t0000" ] noreverse nowriteback gnuplot> print GPVAL_X_MIN -207792000.0 gnuplot> print GPVAL_X_MAX -194572800.0 %%%%%%% Something wrong in save/load code %%%%%%%%%%%%%%%%% Terminal type set to 'wxt' gnuplot> save 'yyy' gnuplot> load 'yyy' Segmentation fault I think these special variables should not be user-writable. That is, I think we want to return an error message like gnuplot> GPVAL_TERM_OPTIONS = "something or other" Cannot set internal variable GPVAL_* But this means it makes no sense to save these variables in the `save` command, because it will not be possible to read them back in on `load`. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |