Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2742 > unrolled thread
| Started by | vuokkosetae@gmail.com |
|---|---|
| First post | 2015-02-07 17:37 -0800 |
| Last post | 2015-02-08 07:52 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
How not to plot the returning lines vuokkosetae@gmail.com - 2015-02-07 17:37 -0800
Re: How not to plot the returning lines Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-02-08 15:55 +0100
Re: How not to plot the returning lines vuokkosetae@gmail.com - 2015-02-08 07:52 -0800
| From | vuokkosetae@gmail.com |
|---|---|
| Date | 2015-02-07 17:37 -0800 |
| Subject | How not to plot the returning lines |
| Message-ID | <744520ed-5925-46b5-98c5-1768aa239d87@googlegroups.com> |
Hi! I have data which has increasing value in first column (x-axes data)and I want to plot the second column on y-axes. Now when the counter wraps I get also wrap in my plot. The line returns back to the left and I don't want that. I want the same red line to draw many times those lines, not start to breaking the file and searching the counter wrap. What is the magical plot only forward command? I have done small test case. test.data 0 1 1 2 2 3 3 4 0 3 1 4 2 5 3 1 other.data 0 1 3 1 2 4 2 3 5 3 4 1 test.gnuplot set style data lines set terminal postscript eps color set output "test.eps" plot 'test.data' using 1:2 title "I get this", \ 'other.data' using 1:2 title "I want this", \ '' using 1:3 title "and this" Best regards, Hannu Vuolasaho
[toc] | [next] | [standalone]
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Date | 2015-02-08 15:55 +0100 |
| Message-ID | <cjpbnsFnkmkU1@mid.dfncis.de> |
| In reply to | #2742 |
Am 08.02.2015 um 02:37 schrieb vuokkosetae@gmail.com: > Hi! > > I have data which has increasing value in first column (x-axes data) That's actually a lie. If it were true, you wouldn't have the problem you perceive. To remove the problem, you'll have to actually make true that claim of monotonicity. A bigger counter would help because it wouldn't wrap around so early. Sorting the data would remove the condition, too, but it might not be what you want. Or you could just introduce blank lines at the wrap-back positions.
[toc] | [prev] | [next] | [standalone]
| From | vuokkosetae@gmail.com |
|---|---|
| Date | 2015-02-08 07:52 -0800 |
| Message-ID | <a5937cef-36aa-4659-b8fc-d5e478c855c8@googlegroups.com> |
| In reply to | #2743 |
On Sunday, February 8, 2015 at 4:55:58 PM UTC+2, Hans-Bernhard Bröker wrote: > Am 08.02.2015 um 02:37 schrieb vuokkosetae@gmail.com: > > Hi! > > > > I have data which has increasing value in first column (x-axes data) > > That's actually a lie. If it were true, you wouldn't have the problem > you perceive. Alright. You caught me. It is a lie. I have several datasets after each other. > > To remove the problem, you'll have to actually make true that claim of > monotonicity. A bigger counter would help because it wouldn't wrap > around so early. Not going to happen. This data comes through serial pot from 8-bit MCU and 16-bit counter is biggest available. > Sorting the data would remove the condition, too, but > it might not be what you want. Sorting removed horizontal lines but introduced vertical zig-zag. > Or you could just introduce blank lines at the wrap-back positions. That did the trick. And searching manual with "blank line" gave good explanation. Thank you. Best regards, Hannu Vuolasaho
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web