[ncl-talk] About removing blank space at the bottom of figures

Luis Cesareo Cana Cascallar luis.cana at ulpgc.es
Fri Jul 13 08:09:55 MDT 2018


Hi,

I’m plotting several images and I’d like to remove the extra space at the bottom of the image (see attached example). I’m using gsnMaximize to use as much area as possible:

******************
res = True
;res at MainTitle = "SBF with ECMWF data, WRF-3.9.1"        ;Give plot a main title
res at tiMainOn = False                            ;
res at Footer = False                                             ; Set Footers off
pltres = True                                               ; Plotting resources
pltres at PanelPlot = True                          ; add text and locations
pltres at gsnMaximize = True                   ; full size
mpres = True
******************

But notice the blank space at the bottom.[cid:3CD9C574-8DE4-4465-81BE-94A2B38E850D at ccbb.ulpgc.es]
I’ve tried to split the image in several files and use ImageMagick to trim each one of them, but retaining a high quality image. However, the size of the resulting image is really big (7,2 Mb). Any suggestion? I’m using the following command:

convert -alpha off -background white -density 300 -trim Fig04a.ps Fig04a.eps

Best,

Luis Cana
ULPGC


Antes de imprimir este correo electrónico, piense bien si es necesario hacerlo: el medio ambiente es una cuestión de todos.

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180713/feaff367/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SBF_10_WRF_simul01.000017.png
Type: image/png
Size: 167070 bytes
Desc: SBF_10_WRF_simul01.000017.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180713/feaff367/attachment.png>


More information about the ncl-talk mailing list