Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2959
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Karl Ratzsch <mail.kfr@gmx.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: reduce plot line occurance |
| Date | Mon, 29 Jun 2015 15:03:34 +0200 |
| Organization | solani.org |
| Lines | 22 |
| Message-ID | <mmrfng$5t6$1@solani.org> (permalink) |
| References | <2a2403cb-fe62-49dc-bb73-6127a946027a@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1435583024 6054 eJwFwYEBwCAIA7CXQNsK5+AY/59gwi3XdyAKHI4S7BzVrWXEmmMXSvfyv91GQES3TZiLdz8OjhBs (29 Jun 2015 13:03:44 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Mon, 29 Jun 2015 13:03:44 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
| X-User-ID | eJwVysERACAIA7CVUGyBdVDYfwT1Ls9AObhtEVxodAlTnRBv2+5pMy2+F6wU7aeekEnhybgRNRDO |
| In-Reply-To | <2a2403cb-fe62-49dc-bb73-6127a946027a@googlegroups.com> |
| Cancel-Lock | sha1:k8u3ImDxBk9iYksF0VAysvIUgmM= |
| X-NNTP-Posting-Host | eJwNwYEBwCAIA7CXVCi15yjC/ydsCSxmJD0QjkbXKvHUkHOabZyu+9uZEGSMpcF3+cJa9P4AIQ8RIw== |
| Xref | csiph.com comp.graphics.apps.gnuplot:2959 |
Show key headers only | View raw
Am 29.06.2015 um 14:00 schrieb dxtans@gmail.com: > Hello, > I have a conf file which can plot many lines depending on the file, So I have tried using the do for loop , but keep getting > invalid expression. > > Can anyone point me in the direction, where I can reduce the number of plot lines below, into a for loop. > > plot 'versions.txt' u 2:xtic(1) title columnheader, \ > '' u 3:xtic(1) title columnheader, \ > '' u 4:xtic(1) title columnheader, \ > '' u 5:xtic(1) title columnheader, \ > '' u 6:xtic(1) title columnheader, \ > '' u 7:xtic(1) title columnheader, \ > '' u 8:xtic(1) title columnheader > you cannot directly but a variable in the using statement, instead use the column() function. plot for [i=2:8] datafile using (column(i)):xtic(1) title columnheader K
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
reduce plot line occurance dxtans@gmail.com - 2015-06-29 05:00 -0700
Re: reduce plot line occurance Karl Ratzsch <mail.kfr@gmx.net> - 2015-06-29 15:03 +0200
Re: reduce plot line occurance Karl Ratzsch <mail.kfr@gmx.net> - 2015-06-29 18:08 +0200
Re: reduce plot line occurance dxtans@gmail.com - 2015-06-29 10:43 -0700
csiph-web