|
From: Ethan M. <merritt@u.washington.edu> - 2005-07-26 20:05:03
|
On Tuesday 26 July 2005 12:53 pm, Juergen Wieferink wrote: > > gnuplot> plot 'file' notitle with lines > > 1) Two gnuplot syntax rules collide at this point: On the one hand > gnuplot is greedy: If "with" is a string variable it is to be > ignored because it is the title for "title with". On the other > hand it is a key word and as such not to be interpreted as > variable name. Hmm. I wish you had brought that up a few months ago, when the syntax ... notitle "title" was added. This is indeed a problem. I am rather inclined to say we should back out the option altogether since it creates ambiguous syntax. > I'd prefer the second case, but how to cope here for "title"? I > *really* think we need a stricter syntax policy how to handle these > cases. I wonder how far away we are from being able to have that policy be simply "no ambigous syntax is permitted". Several disambiguating keywords have been added already (e.g. "font", "offset", "at") for exactly this reason. Do you know of any other cases that are violators, like ... notitle "title"? -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |