<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.17280"></HEAD>
<BODY
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV>Thank you so much Mary!</DIV>
<DIV> </DIV>
<DIV>That fixed my problem. VERY awesome!!</DIV>
<DIV> </DIV>
<DIV>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. </DIV>
<DIV> </DIV>
<DIV>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. </DIV>
<DIV> </DIV>
<DIV>Is this caused also by the different version of NCL I use or due to my
computer performance?</DIV>
<DIV> </DIV>
<DIV>Many thanks and best regards!</DIV>
<DIV>Miao</DIV>
<DIV> </DIV>
<DIV>
<HR
style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px">
</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
<DIV><STRONG>发件人:</STRONG>Mary Haley <haley@ucar.edu></DIV>
<DIV><STRONG>发送时间:</STRONG>2014-09-22 22:46</DIV>
<DIV><STRONG>主题:</STRONG>Re: Re: [ncl-talk] plotting in Cygwin</DIV>
<DIV><STRONG>收件人:</STRONG>"yuuum"<yuuum@163.com></DIV>
<DIV><STRONG>抄送:</STRONG>"ncl-talk@ucar.edu"<ncl-talk@ucar.edu></DIV>
<DIV> </DIV>
<DIV>
<DIV dir=ltr>
<DIV class=gmail_default style="FONT-SIZE: small">Miao,</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">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.</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">There was a rather major
change to NCL V6.2.0 that is probably the cause of the differences you are
seeing. Please see:</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default><A
href="http://www.ncl.ucar.edu/prev_releases.shtml#RasterAndMissingValueAreas6.2.0">http://www.ncl.ucar.edu/prev_releases.shtml#RasterAndMissingValueAreas6.2.0</A><BR></DIV>
<DIV class=gmail_default><BR></DIV>
<DIV class=gmail_default>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:</DIV>
<DIV class=gmail_default><BR></DIV>
<DIV class=gmail_default>
<P><SPAN> res@<A
href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMissingValFillColor"><SPAN><I>cnMissingValFillColor</I></SPAN></A>
= "white"</SPAN></P>
<P><SPAN>--Mary</SPAN></P>
<P><SPAN><BR></SPAN></P></DIV>
<DIV class=gmail_default><BR></DIV>
<DIV class=gmail_default><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Fri, Sep 19, 2014 at 10:22 AM, yuuum <SPAN
dir=ltr><<A href="mailto:yuuum@163.com"
target=_blank>yuuum@163.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><U></U>
<DIV
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV>Thanks Mary for your response!</DIV>
<DIV> </DIV>
<DIV>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 <A href="ftp://ftp.cgd.ucar.edu"
target=_blank>ftp.cgd.ucar.edu</A> also. They have the same name, that
is, LinuxFig.ps and CygwinFig.ps.</DIV>
<DIV> </DIV>
<DIV>If I produce the figure directly in PNG format, the figure seems fine.
The figure is CygwinFig.png attached here and in <A
href="ftp://ftp.cgd.ucar.edu"
target=_blank>ftp.cgd.ucar.edu</A>. 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.</DIV>
<DIV> </DIV>
<DIV>I forgot to mention that I'm using NCL6.2.1 in Cygwin. In Linux that is
version 6.1.2.</DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<DIV>Miao</DIV>
<DIV> </DIV>
<HR
style="BORDER-TOP: #c0c0c0 1px solid; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; MIN-HEIGHT: 1px; BORDER-LEFT: 0px">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
<DIV><STRONG>发件人:</STRONG>Mary Haley <<A href="mailto:haley@ucar.edu"
target=_blank>haley@ucar.edu</A>></DIV>
<DIV><STRONG>发送时间:</STRONG>2014-09-19 21:14</DIV>
<DIV><STRONG>主题:</STRONG>Re: [ncl-talk] plotting in Cygwin</DIV>
<DIV><STRONG>收件人:</STRONG>"yuuum"<<A href="mailto:yuuum@163.com"
target=_blank>yuuum@163.com</A>></DIV>
<DIV><STRONG>抄送:</STRONG>"ncl-talk"<<A href="mailto:ncl-talk@ucar.edu"
target=_blank>ncl-talk@ucar.edu</A>></DIV>
<DIV>
<DIV class=h5>
<DIV> </DIV>
<DIV>
<DIV dir=ltr>
<DIV class=gmail_default style="FONT-SIZE: small">Hi Miao,</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">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.</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">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)</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">Have you tried using direct
PNG output?</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV>
<DIV class=gmail_default style="FONT-SIZE: small">--Mary</DIV>
<DIV class=gmail_default style="FONT-SIZE: small"><BR></DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Fri, Sep 19, 2014 at 2:24 AM, yuuum <SPAN
dir=ltr><<A href="mailto:yuuum@163.com"
target=_blank>yuuum@163.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><U></U>
<DIV
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0"><U></U>
<DIV>Hi NCL,</DIV>
<DIV> </DIV>
<DIV>I'm plotting figures in Cygwin. </DIV>
<DIV>$ uname -a<BR>CYGWIN_NT-6.1 Miao-PC 1.7.32(0.274/5/3) 2014-08-13 23:03
i686 Cygwin<BR></DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV>Thanks and best regards!</DIV>
<DIV>Miao</DIV>
<DIV> </DIV><U></U></DIV><BR>_______________________________________________<BR>ncl-talk
mailing list<BR>List instructions, subscriber options, unsubscribe:<BR><A
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
target=_blank>http://mailman.ucar.edu/mailman/listinfo/ncl-talk</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BODY></HTML>