Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3009
| From | Janis Papanagnou <janis_papanagnou@hotmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Line type defined by data |
| Date | 2015-08-15 02:15 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mqm0a7$bql$1@speranza.aioe.org> (permalink) |
Currently I am splitting my original data (three columns: date, amount, type)
into two files (file1, file2) and plot them individually using
plot "file1" using 1:2 title 'A' with impulses lt 2 , \
"file2" using 1:2 title 'B' with impulses lt 1
Is it possible to avoid the preprocessing of the original data and directly
determine the line type depending on column 3 in the data file, say, like
(pseudo syntax)
plot "file" using 1:2 title 'A' with impulses lt "some magic" using 3 , \
"file" using 1:2 title 'B' with impulses lt "some magic" using 3
or any other way to avoid splitting of original "file" to "file1", "file2"?
Thanks!
Janis
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 02:15 +0200
Re: Line type defined by data Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-08-15 12:40 +0200
Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 13:03 +0200
Re: Line type defined by data Ethan A Merritt <EAMerritt@gmail.com> - 2015-08-15 10:54 -0700
Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 23:43 +0200
Re: Line type defined by data Ethan A Merritt <EAMerritt@gmail.com> - 2015-08-15 20:32 -0700
Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-16 14:28 +0200
Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-16 15:45 +0200
Re: Line type defined by data Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-08-16 17:12 +0200
Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-17 16:06 +0200
csiph-web