[gradsusr] How do I get a map to fill the entire output PNG?

James T. Potemra jimp at hawaii.edu
Thu Jun 5 18:58:19 EDT 2014

Hi Christopher,

You can use the command "set parea" to print right to the edge.  Let me 
know if you need an example.


On 6/5/14 12:15 PM, Lynnes, Christopher S. (GSFC-6102) wrote:
> I'm trying to draw a map without decorations to a PNG file, and 
> filling an entire area (so I can hand it off to a WMS server).  For a 
> global 360x180 file, I am scripting:
> 'sdfopen 
> timeAvg.AIRX3STD_006_Temperature_A.20120101-20120101.180W_90S_180E_90N.925hPa.nc'
> 'set mproj off'
> 'set gxout shaded'
> 'set frame off'
> 'set grid off'
> 'set mpdraw off'
> 'set xlab off'
> 'set ylab off'
> 'set grads off'
> 'd airx3std_006_te'
> 'printim out.png x360 y180'
> 'quit'
> But it still leaves margins around the edges, even if I use the 
> -geometry arg on the command line (-geometry 360x180+0+0).
> --
> Dr. Christopher Lynnes     NASA/GSFC, Code 610.2    phone: 301-614-5185
> "Making the simple complicated is commonplace; making the complicated 
> simple, awesomely simple, that's creativity." -- C. Mingus
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140605/4a3c193c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 6631 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140605/4a3c193c/attachment-0001.png 

More information about the gradsusr mailing list