<html><head><base href="x-msg://11686/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ugo,<div>Do you have this problem just with png output? Can you create a ps or pdf file or display to X11 window?</div><div>&nbsp;-dave</div><div><br><div><div>On Dec 12, 2012, at 9:59 AM, ugo merlini wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Hi,<span class="Apple-converted-space">&nbsp;</span><br><br><br>i'm trying version 6.1 of ncl. I have grafhic output problem so I tried this little script<span class="Apple-converted-space">&nbsp;</span><br><br>;================================================;<span class="Apple-converted-space">&nbsp;</span><br>;&nbsp; maponly_1.ncl<span class="Apple-converted-space">&nbsp;</span><br>;================================================;<span class="Apple-converted-space">&nbsp;</span><br>;<span class="Apple-converted-space">&nbsp;</span><br>; Concepts illustrated:<span class="Apple-converted-space">&nbsp;</span><br>;&nbsp;&nbsp; - Drawing a default cylindrical equidistant map<span class="Apple-converted-space">&nbsp;</span><br>;<span class="Apple-converted-space">&nbsp;</span><br>;================================================;<span class="Apple-converted-space">&nbsp;</span><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<span class="Apple-converted-space">&nbsp;</span><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<span class="Apple-converted-space">&nbsp;</span><br>; ================================================;<span class="Apple-converted-space">&nbsp;</span><br>begin<span class="Apple-converted-space">&nbsp;</span><br><br>&nbsp; wks&nbsp; = gsn_open_wks("png","maponly")&nbsp;&nbsp;&nbsp;&nbsp; ; open a ps file<span class="Apple-converted-space">&nbsp;</span><br>&nbsp; plot = gsn_csm_map_ce(wks,False)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; draw global map<span class="Apple-converted-space">&nbsp;</span><br><br>&nbsp; end<span class="Apple-converted-space">&nbsp;</span><br><br><br>I get a corruped file (png or pdf)<span class="Apple-converted-space">&nbsp;</span><br><br><a class="moz-txt-link-freetext" href="http://i103.photobucket.com/albums/m136/ugo73/maponly.png">http://i103.photobucket.com/albums/m136/ugo73/maponly.png</a><span class="Apple-converted-space">&nbsp;</span><br><br>I'm using debian squeeze and and precompiled file ncl_ncarg-6.1.0.linux_debian_x86_64_gcc445.tar.gz<br><br><br>regards<br><br>Ugo<br></div>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div></span></blockquote></div><br></div></body></html>