• Why does it look like this?

    From au76666@21:1/5 to All on Mon Aug 5 12:21:28 2019
    I have this little script for plotting a data file with
    two different y-ranges:

    gnuplot << eoi
    set term postscript enh eps 24
    set output 'Ibandcompare.eps'
    set xlabel 'log10 T'
    set ylabel "IBAND.f90 - IBAND.cpp"
    set xrange [-40:320]
    plot 'ibandcompare.dat' w l lt 1
    set yrange [-0.001:0.001]
    replot
    quit
    eoi

    The result can be seen here: http://www.dieterbritz.dk/Ibandcompare.pdf

    Why is the second plot shifted upward and to the right, so that
    parts of it are out of the picture? How do I prevent that?

    --
    Dieter Britz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gavin Buxton@21:1/5 to All on Mon Aug 5 12:25:59 2019
    Don't know. This strange and fishy indeed.

    Can you move it to where it should be with set origin and set size?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From au76666@21:1/5 to Gavin Buxton on Fri Aug 9 07:20:22 2019
    On Mon, 05 Aug 2019 12:25:59 -0700, Gavin Buxton wrote:

    Don't know. This strange and fishy indeed.

    Can you move it to where it should be with set origin and set size?

    I have only ever had to use set origin in connection with
    multiplot (the old way, not using layout). But I'll try.

    --
    Dieter Britz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=c3=b6rg_Buchholz?=@21:1/5 to All on Mon Aug 12 08:26:37 2019
    On 05.08.2019 14:21, au76666 wrote:
    I have this little script for plotting a data file with
    two different y-ranges:

    gnuplot << eoi
    set term postscript enh eps 24
    set output 'Ibandcompare.eps'
    set xlabel 'log10 T'
    set ylabel "IBAND.f90 - IBAND.cpp"
    set xrange [-40:320]
    plot 'ibandcompare.dat' w l lt 1
    set yrange [-0.001:0.001]
    replot
    quit
    eoi

    The result can be seen here: http://www.dieterbritz.dk/Ibandcompare.pdf

    Why is the second plot shifted upward and to the right, so that
    parts of it are out of the picture? How do I prevent that?


    Sorry, this is not reproducible. With Version 5.2 patchlevel 7 (WIN)
    both plots are well centred. Can it be a problem from your "eps-Viewer"?

    Jörg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From au76666@21:1/5 to All on Mon Aug 12 08:09:38 2019
    On Mon, 12 Aug 2019 08:26:37 +0200, Jörg Buchholz wrote:

    On 05.08.2019 14:21, au76666 wrote:
    I have this little script for plotting a data file with two different
    y-ranges:

    gnuplot << eoi set term postscript enh eps 24 set output
    'Ibandcompare.eps'
    set xlabel 'log10 T'
    set ylabel "IBAND.f90 - IBAND.cpp"
    set xrange [-40:320]
    plot 'ibandcompare.dat' w l lt 1 set yrange [-0.001:0.001]
    replot quit eoi

    The result can be seen here: http://www.dieterbritz.dk/Ibandcompare.pdf

    Why is the second plot shifted upward and to the right, so that parts
    of it are out of the picture? How do I prevent that?


    Sorry, this is not reproducible. With Version 5.2 patchlevel 7 (WIN)
    both plots are well centred. Can it be a problem from your "eps-Viewer"?

    Jörg

    Ah, so I might have an older version. It says
    Version 5.0 patchlevel 3 last modified 2016-02-21

    So I will have to find out how to upgrade, without
    (hopefully) uninstalling it and re-installing it.

    --
    Dieter Britz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=c3=b6rg_Buchholz?=@21:1/5 to All on Mon Aug 12 10:35:01 2019
    On 12/08/2019 10:09, au76666 wrote:
    On Mon, 12 Aug 2019 08:26:37 +0200, Jörg Buchholz wrote:

    On 05.08.2019 14:21, au76666 wrote:
    I have this little script for plotting a data file with two different
    y-ranges:

    gnuplot << eoi set term postscript enh eps 24 set output
    'Ibandcompare.eps'
    set xlabel 'log10 T'
    set ylabel "IBAND.f90 - IBAND.cpp"
    set xrange [-40:320]
    plot 'ibandcompare.dat' w l lt 1 set yrange [-0.001:0.001]
    replot quit eoi

    The result can be seen here: http://www.dieterbritz.dk/Ibandcompare.pdf

    Why is the second plot shifted upward and to the right, so that parts
    of it are out of the picture? How do I prevent that?


    Sorry, this is not reproducible. With Version 5.2 patchlevel 7 (WIN)
    both plots are well centred. Can it be a problem from your "eps-Viewer"?

    Jörg

    Ah, so I might have an older version. It says
    Version 5.0 patchlevel 3 last modified 2016-02-21

    I have done a test on a Linux-System with Version 5.0 patchlevel 6. Same result, both plots (.eps) are well centred. Displayed with evince,
    okular and ghostview.


    Jörg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From au76666@21:1/5 to All on Mon Aug 12 08:18:31 2019
    On Mon, 12 Aug 2019 08:09:38 +0000, au76666 wrote:
    [...]

    Ah, so I might have an older version. It says Version 5.0 patchlevel 3
    last modified 2016-02-21

    So I will have to find out how to upgrade, without (hopefully)
    uninstalling it and re-installing it.

    I run Ubuntu 16.04. Can I use apt-get to upgrade just gnuplot?
    Or what is the best way to do this? I regularly use apt-get to
    update & upgrade, but that has apparently not upgraded gnuplot.

    --
    Dieter Britz

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