Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1165
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | tom <tommaso.vinci@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plot number variable |
| Date | Thu, 31 May 2012 04:35:18 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 14 |
| Message-ID | <10024470-1ab0-4059-868d-704feb82e8c4@googlegroups.com> (permalink) |
| NNTP-Posting-Host | 129.104.17.5 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1338464118 7221 127.0.0.1 (31 May 2012 11:35:18 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Thu, 31 May 2012 11:35:18 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=129.104.17.5; posting-account=LFq_8goAAAAXN4UG3L5mC_QVnF5WEUG8 |
| User-Agent | G2/1.0 |
| Xref | csiph.com comp.graphics.apps.gnuplot:1165 |
Show key headers only | View raw
Dear all, I ws wondering if there was the possibility (it night already exists) to have a variable (a GPVAL_PLOTNUM) with the current plot being plotted when plotting several files or functions altogether. I try to explain better: when I plot several files like plot 'file1', 'file2', sin(x) I would like to have a variable that is 0 for the plot associated to file1 and 1 for file2 and 2 for sin(x) so on, so that I can use it to do something like plot 'file1' u 1:2:(GPVAL_PLOTNUM) w l palette, 'file2' u 1:($2+GPVAL_PLOTNUM):(GPVAL_PLOTNUM) w l palette, sin(x*GPVAL_PLOTNUM) what do you think? would it be easy to implement? could you give me a hint on the source files I have to look at to do some test? many many thanks
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
plot number variable tom <tommaso.vinci@gmail.com> - 2012-05-31 04:35 -0700
Re: plot number variable sfeam <sfeam@users.sourceforge.net> - 2012-05-31 09:19 -0700
Re: plot number variable Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-05-31 21:41 +0200
Re: plot number variable tom <tommaso.vinci@gmail.com> - 2012-06-01 00:25 -0700
csiph-web