Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Portability should be the default. -- Larry Wall in <199711072201.OAA01123@wall.org>


computers / comp.graphics.apps.gnuplot / Re: set view or rotate

SubjectAuthor
* set view or rotateau76666
+* Re: set view or rotateGavin Buxton
|`- Re: set view or rotatedb
`* Re: set view or rotateKarl Ratzsch
 `* Re: set view or rotatedb
  `- Re: set view or rotatedb

1
Subject: set view or rotate
From: au76666
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Fri, 7 Jun 2019 12:47 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bri...@chem.au.dk (au76666)
Newsgroups: comp.graphics.apps.gnuplot
Subject: set view or rotate
Date: Fri, 7 Jun 2019 12:47:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <qddmdv$oli$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 7 Jun 2019 12:47:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="babd00ac7c035b5f805d29c3086df9b3";
logging-data="25266"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1826BOsc/JZUvQlVGasgzNzCKmpqwPJSV0="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:nD7vA3U5+cGYl21MFySft8wBTGc=
View all headers
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


Subject: Re: set view or rotate
From: Gavin Buxton
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 7 Jun 2019 13:56 UTC
References: 1
X-Received: by 2002:a24:dc05:: with SMTP id q5mr4444576itg.123.1559915760754;
Fri, 07 Jun 2019 06:56:00 -0700 (PDT)
X-Received: by 2002:aca:2b13:: with SMTP id i19mr962406oik.99.1559915760372;
Fri, 07 Jun 2019 06:56:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!s188no226471itb.0!news-out.google.com!l126ni264itl.0!nntp.google.com!g15no220635itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 7 Jun 2019 06:56:00 -0700 (PDT)
In-Reply-To: <qddmdv$oli$1@dont-email.me>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=73.117.121.104;
posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host: 73.117.121.104
References: <qddmdv$oli$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac2d9d94-6600-4e65-8cf3-7c327ea45e71@googlegroups.com>
Subject: Re: set view or rotate
From: gavinbux...@gmail.com (Gavin Buxton)
Injection-Date: Fri, 07 Jun 2019 13:56:00 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 15
View all headers
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


Subject: Re: set view or rotate
From: db
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Fri, 7 Jun 2019 14:53 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: set view or rotate
Date: Fri, 7 Jun 2019 14:53:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <qddtou$4m2$1@dont-email.me>
References: <qddmdv$oli$1@dont-email.me>
<ac2d9d94-6600-4e65-8cf3-7c327ea45e71@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 7 Jun 2019 14:53:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7c84c5e5fad621dbbf6a07965b13c9bb";
logging-data="4802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J9T6GnkRfhZtNkwLZj9tppsFU2KTD0jE="
User-Agent: Pan/0.144 (Time is the enemy; 28ab3ba git.gnome.org/pan2)
Cancel-Lock: sha1:LVUvjhPW10SYXKchgDc194N9MC8=
View all headers
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


Subject: Re: set view or rotate
From: Karl Ratzsch
Newsgroups: comp.graphics.apps.gnuplot
Organization: solani.org
Date: Sat, 8 Jun 2019 08:05 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mail....@gmx.net (Karl Ratzsch)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: set view or rotate
Date: Sat, 8 Jun 2019 10:05:37 +0200
Organization: solani.org
Lines: 23
Message-ID: <qdfq8c$32o$1@solani.org>
References: <qddmdv$oli$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: solani.org 1559981132 3160 127.0.0.43 (8 Jun 2019 08:05:32 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Sat, 8 Jun 2019 08:05:32 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.7.0
Content-Language: de-DE-1901
In-Reply-To: <qddmdv$oli$1@dont-email.me>
X-User-ID: eJwFwYkBwCAIA8CVAvLoOIaa/UfoXa6ymo7KilTKcN80IuGvCgp6w6TufSRut8vQkFxsfOcHFR8RVQ==
Cancel-Lock: sha1:eUFcPr4Dp2J8b4RcvHC/UEwVO18=
View all headers
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




Subject: Re: set view or rotate
From: db
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Sat, 8 Jun 2019 12:14 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: set view or rotate
Date: Sat, 8 Jun 2019 12:14:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <qdg8qo$1md$1@dont-email.me>
References: <qddmdv$oli$1@dont-email.me> <qdfq8c$32o$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 8 Jun 2019 12:14:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0675b704ab54da833fbf2d7cd807ad72";
logging-data="1741"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xha1fKw3g0brFpnomMZ3v8UQrRmzAGvg="
User-Agent: Pan/0.144 (Time is the enemy; 28ab3ba git.gnome.org/pan2)
Cancel-Lock: sha1:v9m/Ltye2BQNaiyq8OQvVJuBgdQ=
View all headers
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


Subject: Re: set view or rotate
From: db
Newsgroups: comp.graphics.apps.gnuplot
Organization: A noiseless patient Spider
Date: Sun, 9 Jun 2019 13:48 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: set view or rotate
Date: Sun, 9 Jun 2019 13:48:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <qdj2n4$o4a$1@dont-email.me>
References: <qddmdv$oli$1@dont-email.me> <qdfq8c$32o$1@solani.org>
<qdg8qo$1md$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 9 Jun 2019 13:48:20 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9aa281a4a8d2ab915a9a16b6b8e7eb0c";
logging-data="24714"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192telbfX7Ov4lB68vXu8YdgUHOZpqWJSw="
User-Agent: Pan/0.144 (Time is the enemy; 28ab3ba git.gnome.org/pan2)
Cancel-Lock: sha1:Yc3oaRQEFbVGnOtap1HCurV01R8=
View all headers
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


1
rocksolid light 0.7.2
clearneti2ptor