Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Uwe Scholz Newsgroups: comp.graphics.apps.gnuplot Subject: Right margin in pm3d plot not correct when using cblabel and postscript terminal Date: Mon, 4 Apr 2011 22:02:09 +0000 (UTC) Organization: albasani.net Lines: 44 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net WWIZ8L/ibNDD8pOOf1plg/ShpPiBWRIBUzUI+Im0hSViN5rS8j+b+EDT13kvbstohM51pqQVmxj8sRWL67GJAA== NNTP-Posting-Date: Mon, 4 Apr 2011 22:02:09 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="jDnNCnEot7CcOcwmUMMehX3UV7kIDwOZmyjOmhp1H7hxUA4m1DFuxW+qDnEHWvQtg+3ywn+nDxTeoQ7m3oX7/0i6K2JIBcntzl0dXXsodE6LZXyBjc1yjcwPrk3EVFiL"; mail-complaints-to="abuse@albasani.net" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:NJUtKvx95aHxw1DbPj4IEz2hHBU= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:212 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... :-|