Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.graphics.apps.gnuplot > #212
| From | Uwe Scholz <nurfuernews@web.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Right margin in pm3d plot not correct when using cblabel and postscript terminal |
| Date | 2011-04-04 22:02 +0000 |
| Organization | albasani.net |
| Message-ID | <indf50$27v$1@news.albasani.net> (permalink) |
Hello,
as you can see in the subject, I have problems plotting a cblabel at the
right side of a pm3d plot when using postscript terminal. An example:
#####
set pm3d map
set cblabel '{/Symbol a} [Gy^{-1}]'
set terminal postscript eps enhanced 16 rounded color
set output 'Test.eps'
splot 'Data.dat' using 1:2:($3/100) w pm3d
unset output
system 'epstopdf Test.eps && rm Test.eps'
####
The file Data.dat contains:
10 10 1.10
10 100 0.23
10 1000 0.12
20 10 1.10
20 100 0.29
20 1000 0.16
Only "-1" is visible in the final pdf on the right side.
The cblabel is correctly displayed if I change the splot command line to
splot 'Data.dat' using 1:2:($3/10) w pm3d
so that the tics on the cblabel are not so wide. Is this a bug or is there
a way to automatically adjust the right margin of the plot? Setting
rmargin does not seem to have any effect.
I'm using gnuplot version 4.4 patchlevel 2 (Gentoo revision r1) on a
current stable gentoo.
Thanks in advance
Uwe Scholz
PS: By editing the bounding box in the eps file before converting it to
pdf it is possible to see the whole cblabel. But this is only a
workaround by now and no solution... :-|
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Right margin in pm3d plot not correct when using cblabel and postscript terminal Uwe Scholz <nurfuernews@web.de> - 2011-04-04 22:02 +0000
Re: Right margin in pm3d plot not correct when using cblabel and postscript terminal Christoph Bersch <usenet@bersch.net> - 2011-04-05 08:59 +0200
Re: Right margin in pm3d plot not correct when using cblabel and postscript terminal Uwe Scholz <nurfuernews@web.de> - 2011-04-05 19:51 +0000
Re: Right margin in pm3d plot not correct when using cblabel and postscript terminal Petr Mikulik <mikulik@physics.muni.cz> - 2011-04-06 08:42 +0000
Re: Right margin in pm3d plot not correct when using cblabel and postscript terminal Uwe Scholz <nurfuernews@web.de> - 2011-04-06 20:07 +0000
csiph-web