• set view or rotate

    From au76666@21:1/5 to All on Fri Jun 7 12:47:59 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gavin Buxton@21:1/5 to All on Fri Jun 7 06:56:00 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From db@21:1/5 to Gavin Buxton on Fri Jun 7 14:53:18 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Karl Ratzsch@21:1/5 to All on Sat Jun 8 10:05:37 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From db@21:1/5 to Karl Ratzsch on Sat Jun 8 12:14:17 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From db@21:1/5 to All on Sun Jun 9 13:48:20 2019
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)