Re: update x-y ranges?
Hans-Bernhard Bröker <[email protected]> Thu, 28 Nov 2024 21:49:33 +0100
| Newsgroups | gmane.comp.graphics.gnuplot.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 28.11.2024 um 21:05 schrieb Leo Butler:
> w filledcurves~a xy=~a,~a lc ~a axis ~a
>
> (the ~a are place holder for values, like %s in a printf template).
>
>
> 1. Was this syntax ever supported by gnuplot? If so, what did it do and
> how can the same effect be achieved in more recent gnuplots?
I think that would depend on what the very first of those ~a thingies
expands to.
The documented syntax and the existing demos both suggest the 'xy=' part
to come rather immediately after "filledcurves". The syntax only allows
keywords like 'above' or 'below' in that place. See "help with
filledcurves" on current git head:
> Syntax for 2D:
>
> plot f(x) with filledcurves [option]
> plot DATA using 1:2 with filledcurves [option]
> plot DATA using 1:2:3 with filledcurves [option]
>
> where the option can be one of the following
>
> closed
> {above|below} x1 x2 y r=<a> xy=<x>,<y>
> between
That would indicate this fraction of the command line rejected by
gnuplot (from [1])
w filledcurves fillstyle solid 0.1 xy=-1.0,0.0
would probably still work if it hat been
w filledcurves xy=-1.0,0.0 fillstyle solid 0.1
instead.
> 2. Assuming the syntax was supported, when was support removed?
That particular syntax was never explicitly supported. It may just have
happened to work anyway. And now it doesn't.
> [1] - https://sourceforge.net/p/maxima/code/ci/master/tree/share/draw/gnuplot.lisp#l902
_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta