Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2210 > unrolled thread
| Started by | Michael <proximum@land.ru> |
|---|---|
| First post | 2013-12-13 22:30 +0700 |
| Last post | 2013-12-15 04:58 +0700 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Data file with blank spaces Michael <proximum@land.ru> - 2013-12-13 22:30 +0700
Re: Data file with blank spaces Olaf Schultz <o.schultz@enhydralutris.de> - 2013-12-13 18:36 +0100
Re: Data file with blank spaces Karl <mail.kfr@gmx.net> - 2013-12-14 18:43 +0100
Re: Data file with blank spaces Michael <proximum@land.ru> - 2013-12-15 04:58 +0700
| From | Michael <proximum@land.ru> |
|---|---|
| Date | 2013-12-13 22:30 +0700 |
| Subject | Data file with blank spaces |
| Message-ID | <l8f964$vqv$1@dont-email.me> |
Hello, I have a file like this: #X Y1 Y2 Y3 0 5 1 6 2 7 12 3 8 13 18 4 9 14 19 5 10 15 20 6 11 16 21 7 12 17 22 8 13 18 9 19 10 20 Is there the way to plot three curves using only one file, or I have to split it to three files? Thanks, Michael.
[toc] | [next] | [standalone]
| From | Olaf Schultz <o.schultz@enhydralutris.de> |
|---|---|
| Date | 2013-12-13 18:36 +0100 |
| Message-ID | <bh0us7F6epU1@mid.individual.net> |
| In reply to | #2210 |
Michael wrote: > Hello, > I have a file like this: > > #X Y1 Y2 Y3 > 0 5 > 1 6 > 2 7 12 > 3 8 13 18 > 4 9 14 19 > 5 10 15 20 > 6 11 16 21 > 7 12 17 22 > 8 13 18 > 9 19 > 10 20 > > > Is there the way to plot three curves using only one file, or I have to > split it to three files? Use - for an empty entry in these cases. HTH, OIaf
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2013-12-14 18:43 +0100 |
| Message-ID | <l8i5c1$9ai$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2210 |
Am 13.12.2013 16:30, schrieb Michael: > Hello, > I have a file like this: > > #X Y1 Y2 Y3 > 0 5 > 1 6 > 2 7 12 > 3 8 13 18 > 4 9 14 19 > 5 10 15 20 > 6 11 16 21 > 7 12 17 22 > 8 13 18 > 9 19 > 10 20 > > > Is there the way to plot three curves using only one file, or I have to > split it to three files? > > Thanks, > Michael. I guess you want to plot y1 vs. x, y2 vs. x, y3 vs. x? gp> plot "filename" using 1:2, "" us 1:3, "" us 1:4 plot "" just uses the filename from the last plot. Karl
[toc] | [prev] | [next] | [standalone]
| From | Michael <proximum@land.ru> |
|---|---|
| Date | 2013-12-15 04:58 +0700 |
| Message-ID | <l8ik9u$vj3$1@dont-email.me> |
| In reply to | #2212 |
> I guess you want to plot y1 vs. x, y2 vs. x, y3 vs. x? > > gp> plot "filename" using 1:2, "" us 1:3, "" us 1:4 > > plot "" just uses the filename from the last plot. > > Karl > I asked about missing data points. I've found the solution, "set datafile missing <character>". Thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web