<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mary,<div><br></div><div>I have modified the code&nbsp;based on your recommendations:&nbsp;I used "overlay" instead of gsn_csm_vector_scalar_map and modified the resources and finally just added "tfDoNDCOverlay" for contour as well. It is working well now.</div><div><br></div><div>Thanks a lot for your help.</div><div><br></div><div>Deniz</div><div><div>
<span class="Apple-style-span" style="color: rgb(0, 0, 0); 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; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); 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; border-collapse: collapse;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial"><br></font></div></span></div></span></div></span></div></span></div></div></div></span></span></div><div><div>On Aug 21, 2014, at 10:18 PM, Mary Haley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Deniz,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since I can't run the script, I'm not exactly sure what's going on. &nbsp;Can you try also setting:</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">res@gsnTickMarksOn = False</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
to see what happens? &nbsp;I don't think this will do the right thing, and it's not a good solution, but it's worth a shot as a work-around.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
In general, I recommend that people not use gsn_csm_vector_scalar_map, especially if they are using it to draw both filled contours and vectors, because it is hard to customize the contours separately from the vectors.&nbsp;</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I would suggest perhaps using gsn_csm_contour_map to generate the contours, gsn_csm_vectors to generate the vectors, and the "overlay" to overlay the two plots.</div>
<div class="gmail_default" style="font-size:small">&nbsp;</div><div class="gmail_default" style="font-size:small">See the attached UNTESTED modification of your code.</div><div class="gmail_default" style="font-size:small"><br>
</div><div class="gmail_default" style="font-size:small">By the way, I noticed you are setting both:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">
res@mpMinLatF = latsouth</div><div class="gmail_default">res@mpMaxLatF = latnorth</div><div class="gmail_default">res@mpMinLonF = lonwest</div><div class="gmail_default">res@mpMaxLonF = loneast</div><div class="gmail_default">
<br></div><div class="gmail_default">and:</div><div class="gmail_default"><br></div><div class="gmail_default">res@mpLimitMode &nbsp; &nbsp; &nbsp; = "Corners"</div><div class="gmail_default">res@mpLeftCornerLatF &nbsp;= lat2d(0,0)</div>
<div class="gmail_default">res@mpLeftCornerLonF &nbsp;= lon2d(0,0)</div><div class="gmail_default">res@mpRightCornerLatF = lat2d(nlon-1,nlat-1)</div><div class="gmail_default">res@mpRightCornerLonF = lon2d(nlon-1,nlat-1)</div>
<div class="gmail_default"><br></div><div class="gmail_default">The mpMin/MaxLat/LonF resources are going to be ignored, because you've set "mpLimitMode" to "corners", and it will then only look for the mpLeft/RightCorner resources.</div>
<div class="gmail_default"><br></div><div class="gmail_default">Finally, I'm not sure why you are using gsn_panel to panel just one plot. &nbsp;It looks like you are trying to customize the labelbar with this method. &nbsp;If you use the steps I described above, then I think you will find that it's easier to customize the labelbar associated with the contour/map plot.</div>
<div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 20, 2014 at 10:10 AM, denizbozkurt <span dir="ltr">&lt;<a href="mailto:bozkurtd@itu.edu.tr" target="_blank">bozkurtd@itu.edu.tr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
Attached are two outputs produced by NCL-6.2.0 and NCL-5.2.1 with the same code. As it is seen there is a strange overlapping of tick marks in the output of NCL-6.2.0. When I run the code with NCL-5.2.1, it produces the figure well. I also run the code with NCL-6.1.2, but the overlapping still exists.<br>

<br>
Am I missing something in the NCL-6.2.0 and NCL-6.1.2?<br>
<br>
Thanks in advance,<br>
Deniz<br>
<br>
<br>
<br><br>
<br><br>
<br>
<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>
<span>&lt;synoptic_diff_mod.ncl&gt;</span></blockquote></div><br></div></body></html>