|
From: Robert H. <en...@no...> - 2005-08-14 22:39:07
|
On Sat, 13 Aug 2005, Ethan A Merritt wrote:
> set xtics auto
> set xtics include ("Pi" pi 0)
> set xtics include ("2Pi" pi*2 0)
> will auto-generate tics and include specific labels at pi and 2pi.
> Omitting the keyword retains the current behaviour; each
> command supersedes the previous ones.
>
> Please speak up if you have any objections or counter-proposals.
> Also please suggest a better name for the keyword if you can think
> of one. "add" is the another possibility on the table at the
> moment.
I suppose the other way of looking at is:
a) Is this a syntax that could consistenly be applied to other commands
should this kind of "addition" behaviour be applicable to them.
Similar commands are things like "set label", which IIRC behaves in a much
different way - no extra keyword is needed. Of course, using the same sort
of syntax as set label would break any existing scripts that contain
multiple explicit tics statements, which I imagine are relatively
uncommon.
b) Is it actually the "verb" that needs to be changed, as in:
unset xtics
set xtics auto
add xtics ("pi" pi 0)
add xtics ("2pi" 2*pi 0)
show xtics
This is, I guess, more akin to the plot and replot case in the current
syntax. I'm guessing (although I haven't really looked at the code) that
this would be more trouble to implement.
Rob
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
|