Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #777
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: axes x2y1 with filled curves |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2011-12-21 10:18 -0800 |
| Organization | gnuplot development team |
| Message-ID | <jct7u6$tcb$1@dont-email.me> (permalink) |
| References | <4ef20412$0$6878$e4fe514c@news2.news.xs4all.nl> |
Followups directed to: comp.graphics.apps.gnuplot
Alex van der Spek wrote:
> gnuplot> plot '-' using 1:2:3 with filledcurves
Disregarding the solid fill, this plots two dependent
values (2 and 3) of a shared independent axis (1).
> input data ('e' ends) > 1 2 3
> input data ('e' ends) > 10 2 3
> input data ('e' ends) > 10 1 4
> input data ('e' ends) > 20 1 4
> input data ('e' ends) > e
>
> Works as expected but the same data with
>
> gnuplot> plot '-' using 3:2:1 axes x2y1 with filledcurves
But here the independent axis is (3), while 1 and 2 are
dependent values. So no transformation can make this
equivalent to the previous case. Note that column 2
is treated as a dependent variable in both cases.
Maybe it would be easier to see what is going on by plotting
case 1:
set style function lines
plot foo using 1:2, '' using 1:3
case 2
set style function lines
plot foo using 3:1, '' using 3:2
> input data ('e' ends) > 1 2 3
> input data ('e' ends) > 10 2 3
> input data ('e' ends) > 10 1 4
> input data ('e' ends) > 20 1 4
> input data ('e' ends) > e
>
> produces output I cannot make sense of. It should produce the same type of
> 'graph' only rotated clockwise by 90 degrees after scaling the axes.
In general gnuplot can only use x as the independent axis.
>
> Any help or explanation would be appreciated,
> Alex van der Spek
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
axes x2y1 with filled curves "Alex van der Spek" <zdoor@xs4all.nl> - 2011-12-21 17:06 +0100
Re: axes x2y1 with filled curves sfeam <sfeam@users.sourceforge.net> - 2011-12-21 10:18 -0800
Re: axes x2y1 with filled curves "Alex van der Spek" <zdoor@xs4all.nl> - 2011-12-21 19:56 +0100
Re: axes x2y1 with filled curves Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-12-22 02:37 +0100
Re: axes x2y1 with filled curves "Alex van der Spek" <zdoor@xs4all.nl> - 2011-12-27 17:26 +0100
csiph-web