Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2759 > unrolled thread
| Started by | oscar.rotava@gmail.com |
|---|---|
| First post | 2015-02-19 04:55 -0800 |
| Last post | 2015-02-20 03:11 -0800 |
| Articles | 5 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Plot with constant x and variable y oscar.rotava@gmail.com - 2015-02-19 04:55 -0800
Re: Plot with constant x and variable y Karl <mail.kfr@gmx.net> - 2015-02-19 16:01 +0100
Re: Plot with constant x and variable y oscar.rotava@gmail.com - 2015-02-19 11:02 -0800
Re: Plot with constant x and variable y oscar.rotava@gmail.com - 2015-02-19 11:19 -0800
Re: Plot with constant x and variable y oscar.rotava@gmail.com - 2015-02-20 03:11 -0800
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-02-19 04:55 -0800 |
| Subject | Plot with constant x and variable y |
| Message-ID | <1b2a005c-9409-4392-a80c-db35f6c3b56d@googlegroups.com> |
Pals How to plot data with constant x and varying y (a vertical line) without using set arrow? I need such "curve" to be present in a legend to describe one of the plotted lines.
[toc] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-02-19 16:01 +0100 |
| Message-ID | <mc4trc$58c$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2759 |
Am 19.02.2015 um 13:55 schrieb oscar.rotava@gmail.com: > Pals > > How to plot data with constant x and varying y (a vertical line) without using set arrow? I need such "curve" to be present in a legend to describe one of the plotted lines. > Why not "set arrow" ? That´s exactly what arrows are there for. set arrow 1 nohead from graph .8,.8 to first 3.4,f(3.4) or similar. Check "help coordinates" The alternative is using the special filename '+', that allows you to have an independent variable that is not the abscissa. plot yourfunction(x), "+" [y=3:5] using (3):(y) with lines notitle
[toc] | [prev] | [next] | [standalone]
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-02-19 11:02 -0800 |
| Message-ID | <057748cc-0a76-408e-94bb-783dee12c94b@googlegroups.com> |
| In reply to | #2759 |
Em quinta-feira, 19 de fevereiro de 2015 10:55:09 UTC-2, oscar....@gmail.com escreveu: > Pals > > How to plot data with constant x and varying y (a vertical line) without using set arrow? I need such "curve" to be present in a legend to describe one of the plotted lines. > plot yourfunction(x), "+" [y=3:5] using (3):(y) with lines notitle Gnuplot complains that y needs to be integer. Is there any way for y to be a real number?
[toc] | [prev] | [next] | [standalone]
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-02-19 11:19 -0800 |
| Message-ID | <6da5c2d1-842a-461b-b270-64d85236b539@googlegroups.com> |
| In reply to | #2759 |
Em quinta-feira, 19 de fevereiro de 2015 10:55:09 UTC-2, oscar....@gmail.com escreveu: > Pals > > How to plot data with constant x and varying y (a vertical line) without using set arrow? I need such "curve" to be present in a legend to describe one of the plotted lines. I found out that "set yrange" takes care of that.
[toc] | [prev] | [next] | [standalone]
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-02-20 03:11 -0800 |
| Message-ID | <0d3736ef-5094-45bd-8606-8df16f406afd@googlegroups.com> |
| In reply to | #2759 |
Em quinta-feira, 19 de fevereiro de 2015 10:55:09 UTC-2, oscar....@gmail.com escreveu: > Pals > > How to plot data with constant x and varying y (a vertical line) without using set arrow? I need such "curve" to be present in a legend to describe one of the plotted lines. Thanks for the help. The solution is more elegant than using set arrow.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web