Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2990 > unrolled thread
| Started by | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| First post | 2015-07-20 14:37 +0000 |
| Last post | 2015-07-21 08:36 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Vertical line at some x Dieter Britz <dieterhansbritz@gmail.com> - 2015-07-20 14:37 +0000
Re: Vertical line at some x Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2015-07-21 01:06 +0600
Re: Vertical line at some x Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-07-21 08:36 +0200
| From | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2015-07-20 14:37 +0000 |
| Subject | Vertical line at some x |
| Message-ID | <moj13d$t6j$1@dont-email.me> |
In a +plot I want a vertical line at a certain x on the plot, but I don't want to set up a separate data file with just two points in it. I already have a plot command plot 'bla.dat' w l lt 1 and the x range is [0:20]. The vertical line should be at x = 18.06. What do I have to add to the plot command to do this? -- Dieter Britz
[toc] | [next] | [standalone]
| From | Michael Okuntsov <okuntsov.mikhail@yandex.ru> |
|---|---|
| Date | 2015-07-21 01:06 +0600 |
| Message-ID | <mojgpe$1f1$1@dont-email.me> |
| In reply to | #2990 |
20.07.2015 20:37, Dieter Britz пишет: > In a +plot I want a vertical line at a certain x on the plot, > but I don't want to set up a separate data file with just two > points in it. I already have a plot command > > plot 'bla.dat' w l lt 1 > > and the x range is [0:20]. The vertical line should be > at x = 18.06. > > What do I have to add to the plot command to do this? > set arrow from 18.06,-10 to 18.06,10 nohead or set arrow from 18.06,-10 rto 0,20 nohead
[toc] | [prev] | [next] | [standalone]
| From | Karl-Friedrich Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-07-21 08:36 +0200 |
| Message-ID | <mokpae$n7g$1@solani.org> |
| In reply to | #2991 |
Am 20.07.2015 um 21:06 schrieb Michael Okuntsov: > 20.07.2015 20:37, Dieter Britz пишет: >> In a +plot I want a vertical line at a certain x on the plot, >> but I don't want to set up a separate data file with just two >> points in it. I already have a plot command >> >> plot 'bla.dat' w l lt 1 >> >> and the x range is [0:20]. The vertical line should be >> at x = 18.06. >> >> What do I have to add to the plot command to do this? >> > > set arrow from 18.06,-10 to 18.06,10 nohead > or > set arrow from 18.06,-10 rto 0,20 nohead alternatively replot "-" w l 18.06 0 18.06 20
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web