|
From: Daniel J S. <dan...@ie...> - 2015-01-26 19:11:27
|
On 01/26/2015 12:50 PM, Ethan A Merritt wrote: > On Sunday, 25 January, 2015 22:38:53 Philipp K. Janert wrote: > >> On Sun, 25 Jan 2015 21:46:11 -0800 > >> sfeam <sf...@us...> wrote: > >> > >> > On Sunday, 25 January 2015 07:57:39 PM Philipp K. Janert wrote: > >> > > >> > > 3) set ticscale vs set xyplane with save command > >> > > > >> > > The "set ticscale" option is deprecated in favor of > >> > > "set xyplane". However, upon "save", gnuplot saves > >> > > only a "set ticscale" entry to the command file, not > >> > > a "set xyscale" entry. It works, but it is confusing. > >> > > >> > "set ticscale" controls the length of the axis tic marks. > >> > It has no connection to "set xyplane". > >> > >> My bad. I meant: "set ticslevel" (not "ticscale"). > >> > >> "save" does not write "set xyplane" to file, > >> it write out "set ticslevel". Which is deprecated. > > Are you sure? > > That's not what I see here: > > gnuplot> set xyplane at z = -.123 > > gnuplot> save 'foo' > > gnuplot> !grep xyplane foo > > set xyplane at -0.123 > > gnuplot> !grep ticslevel foo Same here. However, "ticslevel" is still saved. E.g., gnuplot> set ticslevel -1 gnuplot> save 'foo' gnuplot> !grep ticslevel foo set ticslevel -1 If ticslevel is deprecated, then probably the equivalent "set xyplane relative <frac>" should be saved. I suppose the easiest way to do this is to have a preprocess-type of step that replaces "set ticslevel <frac>" by the equivalent. That way the command goes into the history queue with the right format. Easier said than done, I guess, considering that gnuplot has word completion, e.g., gnuplot> se ticsl -1 is acceptable. Dan |