[ncl-talk] plotting in Cygwin
Miao Yu
yuuum at 163.com
Mon Sep 22 09:47:28 MDT 2014
Thank you so much Mary!
That fixed my problem. VERY awesome!!
Can I ask another question? I encounter another problem that the map cannot be filled with color in some grids sometimes. Please kindly see it attached. In the attached figure, the North and South America is blank. Only some strips are drawn. Normally, the grids over land are colored everywhere.
I have this problem when I use NCL6.2.1 in Cygwin or NCL6.1.2 in Linux, and create the figures in PS files. I don't have this problem if I create PNG files. I remember but I'm not sure I didn't have this problem when I used NCL6.2.0 in Linux and in whatever format.
Is this caused also by the different version of NCL I use or due to my computer performance?
Many thanks and best regards!
Miao
发件人:Mary Haley <haley at ucar.edu>
发送时间:2014-09-22 22:46
主题:Re: Re: [ncl-talk] plotting in Cygwin
收件人:"yuuum"<yuuum at 163.com>
抄送:"ncl-talk at ucar.edu"<ncl-talk at ucar.edu>
Miao,
It's a bit hard to see the images when you send them in a panel plot, but I think I can see what you are talking about.
There was a rather major change to NCL V6.2.0 that is probably the cause of the differences you are seeing. Please see:
http://www.ncl.ucar.edu/prev_releases.shtml#RasterAndMissingValueAreas6.2.0
The borders that you see in the Cygwin version are probably the outlines of the gray map underneath. As suggested in the above URL: in the Cygwin version of your script, try adding this line to see if it fixes the problem:
res at cnMissingValFillColor = "white"
--Mary
On Fri, Sep 19, 2014 at 10:22 AM, yuuum <yuuum at 163.com> wrote:
Thanks Mary for your response!
Actually those two JPEG images were snipped in my windows system and saved as JPEG format. The original files are in PS format. I attached them here but I'm not sure whether they can be received through email due to their sizes (each of them larger than 1M but less than 1.5M). I ftp them in ftp.cgd.ucar.edu also. They have the same name, that is, LinuxFig.ps and CygwinFig.ps.
If I produce the figure directly in PNG format, the figure seems fine. The figure is CygwinFig.png attached here and in ftp.cgd.ucar.edu. However, I'm asked to provide figures in PS or PDF format for publication. The PDF figure has the same problem, similar as the PS figure.
I forgot to mention that I'm using NCL6.2.1 in Cygwin. In Linux that is version 6.1.2.
Thanks!
Miao
发件人:Mary Haley <haley at ucar.edu>
发送时间:2014-09-19 21:14
主题:Re: [ncl-talk] plotting in Cygwin
收件人:"yuuum"<yuuum at 163.com>
抄送:"ncl-talk"<ncl-talk at ucar.edu>
Hi Miao,
Thanks for providing the two figures. I don't think the differences are due to NCL, but maybe due to how the figures were post-processed.
Can you give me some details on how you created the JPEG images? That is, what output format did you use in the NCL script, and then how did you convert that image to JPEG? Also, what version of NCL are you using under both Cygwin and Linux? (ncl -V)
Have you tried using direct PNG output?
--Mary
On Fri, Sep 19, 2014 at 2:24 AM, yuuum <yuuum at 163.com> wrote:
Hi NCL,
I'm plotting figures in Cygwin.
$ uname -a
CYGWIN_NT-6.1 Miao-PC 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin
The figure I got is like that shown in the attached file of CygwinFig.jpg. I also produced this figure using Linux before. It's shown in LinuxFig.jpg.
My problem is the figure produced in Cygwin looks a little weird compared to that produced in Linux. There seems to have black or gray lines at the boundary of color filled grids. The figure produced in Linux is a little blurry but should be right. Is there any problem with my computer setting? What may cause this problem and how can I fix it?
Thanks and best regards!
Miao
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140922/80651835/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BadColorFill.eps
Type: application/postscript
Size: 1558475 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140922/80651835/attachment-0001.eps
More information about the ncl-talk
mailing list