Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4205 > unrolled thread
| Started by | au76666 <britz@chem.au.dk> |
|---|---|
| First post | 2019-08-05 12:21 +0000 |
| Last post | 2019-08-12 10:35 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Why does it look like this? au76666 <britz@chem.au.dk> - 2019-08-05 12:21 +0000
Re: Why does it look like this? Gavin Buxton <gavinbuxton@gmail.com> - 2019-08-05 12:25 -0700
Re: Why does it look like this? au76666 <britz@chem.au.dk> - 2019-08-09 07:20 +0000
Re: Why does it look like this? Jörg Buchholz <bookwood4new@freenet.de> - 2019-08-12 08:26 +0200
Re: Why does it look like this? au76666 <britz@chem.au.dk> - 2019-08-12 08:09 +0000
Re: Why does it look like this? au76666 <britz@chem.au.dk> - 2019-08-12 08:18 +0000
Re: Why does it look like this? Jörg Buchholz <bookwood4new@freenet.de> - 2019-08-12 10:35 +0200
| From | au76666 <britz@chem.au.dk> |
|---|---|
| Date | 2019-08-05 12:21 +0000 |
| Subject | Why does it look like this? |
| Message-ID | <qi9708$5pg$1@dont-email.me> |
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
[toc] | [next] | [standalone]
| From | Gavin Buxton <gavinbuxton@gmail.com> |
|---|---|
| Date | 2019-08-05 12:25 -0700 |
| Message-ID | <8129b0ab-861d-40f5-8e0b-2bbc18a85e54@googlegroups.com> |
| In reply to | #4205 |
Don't know. This strange and fishy indeed. Can you move it to where it should be with set origin and set size?
[toc] | [prev] | [next] | [standalone]
| From | au76666 <britz@chem.au.dk> |
|---|---|
| Date | 2019-08-09 07:20 +0000 |
| Message-ID | <qij6rm$gkm$1@dont-email.me> |
| In reply to | #4206 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2019-08-12 08:26 +0200 |
| Message-ID | <qir0qt$hml$1@dont-email.me> |
| In reply to | #4205 |
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
[toc] | [prev] | [next] | [standalone]
| From | au76666 <britz@chem.au.dk> |
|---|---|
| Date | 2019-08-12 08:09 +0000 |
| Message-ID | <qir6s2$isu$1@dont-email.me> |
| In reply to | #4208 |
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
[toc] | [prev] | [next] | [standalone]
| From | au76666 <britz@chem.au.dk> |
|---|---|
| Date | 2019-08-12 08:18 +0000 |
| Message-ID | <qir7cn$isu$3@dont-email.me> |
| In reply to | #4209 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2019-08-12 10:35 +0200 |
| Message-ID | <qir8bm$r4p$1@dont-email.me> |
| In reply to | #4209 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web