[ncl-talk] How to use the wkPDFResolution resource?
yinjinfang88 at 163.com
yinjinfang88 at 163.com
Thu Apr 7 20:48:29 MDT 2016
Dear all,
I am just trying to use the wkPDFResolution resource to increase the PDF figure resolution. Two ways have been tested, but it does not work. The NCL is version 6.3.0.
One way to set a value for the wkPDFResolution is :
type = "pdf"
type at wkPSResolution = 5400; (default is 1800)
wks = gsn_open_wks(type, "54511")
However, a warning is given
warning:wkPSResolution is not a resource in the given object
The warning indicates that the wkPSResolution resource is unavailable at this time.
Alternative way is using a gsun to open a workstation.
xworkid = create "testWork" pdfWorkstationClass defaultapp
"wkPDFResolution" : 5400
"wkPDFFileName" : "test.pdf"
end create
This setting works well. However, the size of the pdf file remains unchanged.
Any idea?
Thanks a lot.
Jin-Fang Yin
State Key Laboratory of Severe Weather, Chinese Academy of Meteorological Sciences, Beijing 100081, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160408/ee91625b/attachment.html
More information about the ncl-talk
mailing list