Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #777
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| 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 | Wed, 21 Dec 2011 10:18:44 -0800 |
| Organization | gnuplot development team |
| Lines | 46 |
| Message-ID | <jct7u6$tcb$1@dont-email.me> (permalink) |
| References | <4ef20412$0$6878$e4fe514c@news2.news.xs4all.nl> |
| Reply-To | sfeam@users.sourceforge.net |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| Injection-Date | Wed, 21 Dec 2011 18:18:46 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="30091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UTxUV5yfbtX3J1N/pkeNm" |
| User-Agent | KNode/4.4.9 |
| Cancel-Lock | sha1:NQrVOToqB1ZOZNeD4WmOHVcfO70= |
| Xref | x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:777 |
Followups directed to: comp.graphics.apps.gnuplot
Show key headers only | View raw
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