Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4197 > unrolled thread
| Started by | au76666 <britz@chem.au.dk> |
|---|---|
| First post | 2019-06-07 12:47 +0000 |
| Last post | 2019-06-09 13:48 +0000 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
set view or rotate au76666 <britz@chem.au.dk> - 2019-06-07 12:47 +0000
Re: set view or rotate Gavin Buxton <gavinbuxton@gmail.com> - 2019-06-07 06:56 -0700
Re: set view or rotate db <dieterhansbritz@gmail.com> - 2019-06-07 14:53 +0000
Re: set view or rotate Karl Ratzsch <mail.kfr@gmx.net> - 2019-06-08 10:05 +0200
Re: set view or rotate db <dieterhansbritz@gmail.com> - 2019-06-08 12:14 +0000
Re: set view or rotate db <dieterhansbritz@gmail.com> - 2019-06-09 13:48 +0000
| From | au76666 <britz@chem.au.dk> |
|---|---|
| Date | 2019-06-07 12:47 +0000 |
| Subject | set view or rotate |
| Message-ID | <qddmdv$oli$1@dont-email.me> |
I have this plot: http://dieterbritz.dk/sdr1.pdf generated in gnuplot simply with splot '2D.dat' w l I would like to change the angle of view so that I am looking directly at what is now the far right-hand corner, making it the far left-hand corner. This corresponds to a rotation of the XY plane by 90 degrees anticlockwise. I have tried adding "rotate=0.5pi" to the splot command, and various set view combinations, but nothing changes the plot. How can I do it please? -- Dieter Britz
[toc] | [next] | [standalone]
| From | Gavin Buxton <gavinbuxton@gmail.com> |
|---|---|
| Date | 2019-06-07 06:56 -0700 |
| Message-ID | <ac2d9d94-6600-4e65-8cf3-7c327ea45e71@googlegroups.com> |
| In reply to | #4197 |
Hi
I can't see the picture, but I'm not too sure it can be done. I crass work around might to plot it with negative x coordinates
splot '2D.dat' u (-$1):2:3 w l
And the you can play around with the xtics to make the negative go away from the display
set xtics ("0" 0, "50" -50, "100" -100)
As I said, this might be too crass of a solution and others might have something more elegant.
Best
Gavin
[toc] | [prev] | [next] | [standalone]
| From | db <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2019-06-07 14:53 +0000 |
| Message-ID | <qddtou$4m2$1@dont-email.me> |
| In reply to | #4198 |
On Fri, 07 Jun 2019 06:56:00 -0700, Gavin Buxton wrote: > Hi > > I can't see the picture, but I'm not too sure it can be done. I crass > work around might to plot it with negative x coordinates Sorry, that should have been http://dieterbritz.dk/SDR1.pdf (caps, not c) -- Dieter Britz
[toc] | [prev] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2019-06-08 10:05 +0200 |
| Message-ID | <qdfq8c$32o$1@solani.org> |
| In reply to | #4197 |
Am 07.06.2019 um 14:47 schrieb au76666: > splot '2D.dat' w l > > I would like to change the angle of view so that I am > looking directly at what is now the far right-hand corner, > making it the far left-hand corner. This corresponds to a > rotation of the XY plane by 90 degrees anticlockwise. > > I have tried adding "rotate=0.5pi" to the splot command, and > various set view combinations, but nothing changes the plot. You can use an interactive terminal, rotate the view with the mouse, and afterwards check what options "show view" displays, or "save '2D.plt'" writes to disk. Btw. splot has not "rotate" option, and "set view" expects angles in degrees, not radians. Karl
[toc] | [prev] | [next] | [standalone]
| From | db <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2019-06-08 12:14 +0000 |
| Message-ID | <qdg8qo$1md$1@dont-email.me> |
| In reply to | #4200 |
On Sat, 08 Jun 2019 10:05:37 +0200, Karl Ratzsch wrote: > Am 07.06.2019 um 14:47 schrieb au76666: > >> splot '2D.dat' w l >> >> I would like to change the angle of view so that I am looking directly >> at what is now the far right-hand corner, making it the far left-hand >> corner. This corresponds to a rotation of the XY plane by 90 degrees >> anticlockwise. >> >> I have tried adding "rotate=0.5pi" to the splot command, and various >> set view combinations, but nothing changes the plot. > > > You can use an interactive terminal, rotate the view with the mouse, > and afterwards check what options "show view" displays, or "save > '2D.plt'" writes to disk. > > Btw. splot has not "rotate" option, and "set view" expects angles in > degrees, not radians. > > Karl Thanks. If I want to rotate as I described, what do I put into set view? -- Dieter Britz
[toc] | [prev] | [next] | [standalone]
| From | db <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2019-06-09 13:48 +0000 |
| Message-ID | <qdj2n4$o4a$1@dont-email.me> |
| In reply to | #4201 |
On Sat, 08 Jun 2019 12:14:17 +0000, db wrote: > On Sat, 08 Jun 2019 10:05:37 +0200, Karl Ratzsch wrote: [...] >> Btw. splot has not "rotate" option, and "set view" expects angles in >> degrees, not radians. >> >> Karl > > Thanks. If I want to rotate as I described, what do I put into set view? I fiddled with it and worked it out, thanks. -- Dieter Britz
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web