<div dir="ltr"><div><div><div><div>Hi Geeta,<br></div>1) tiYAxis and tiXAxis: You can set tiYAxisOffsetXF and tiXAxisOffsetYF. I would try a value of -.017 for the tiYAxisOffsetXF resource, and a value of .05 for the tiXAxisOffsetYF, but you will likely have to play with these resources a bit. <br><br>To see examples of their use, go to the top of the Examples page, and click on "resources" in the top sentence "List of tips, resources". (The page will take a second to load because it is so long.) Then, search for "tiXAxisOffsetYF".<br><br></div>2) Label bar label: You are specifying the following resources:<br>res@cnLevels =(/0,1,10,30,50/)<br>res@lbLabelStrings =(/"0","1","10", "30","50"/)<br>res@lbLabelAlignment = "BoxCenters"<br><br></div>Setting lbLabelAlignment to BoxCenters requires you to set one more label than the number of contour levels. See example 14 here:<br><a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex14">http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex14</a><br><br></div><div>Looking at the plot you linked to I not sure that you really want to set lbLabelAlignment = "BoxCenters".<br></div><div><div><div><br></div><div>3) Coloring the swatch path white: I think this is just a reflection of your chosen cnLevels. Looking again at the linked plot they have white colors all the way to say 0.8 (?). Try setting the following:<br></div><div>res@cnLevels = 0.8,10,20,30,50<br></div><div>res@lbLabelStrings = res@cnLevels<br><br></div><div>Hope that helps. If not, please respond to the ncl-talk email list.<br>Adam <br></div><div><div><div><div><br><div><div><br><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 5:35 AM, Geeta Geeta <span dir="ltr"><<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:12pt"><div><span></span></div><div></div><div> Hi. </div><div>I am unable to write the Titles of X and Y axes in the way I wish to. by default, it is overlapping the numbers on the X and Y axes (Fig Attached)</div><div>I am also attaching my script. </div><div>Following res I am using for that. </div><div><a href="mailto:res@tiMainString=fili" target="_blank">res@tiMainString=fili</a><br><a href="mailto:res@tiXAxisString" target="_blank">res@tiXAxisString</a> = "Longitude"<br><a href="mailto:res@tiYAxisString" target="_blank">res@tiYAxisString</a> = "Latitude"<br><a href="mailto:res@gsnLeftString=var_name+var_unit" target="_blank">res@gsnLeftString=var_name+var_unit</a><br>; Changing the font Height of Title rnd X and Y axis esources-----<br><a href="mailto:res@tiMainFontHeightF" target="_blank">res@tiMainFontHeightF</a> = 0.02<br><a href="mailto:res@tiYAxisFontHeightF" target="_blank">res@tiYAxisFontHeightF</a> = 0.02<br><a href="mailto:res@tiXAxisFontHeightF" target="_blank">res@tiXAxisFontHeightF</a> = 0.02<br></div><div><br></div><div><br></div><div>Can I change location of X/Y Titles??. Bring it close to Axes??. </div><div><br></div><div>2.Secondly, I am getting the string Label_5. Donot know why I am getting that. </div><div><br></div><div>3. How can I change the color of the Swath(Path) to White as shown in the Fig Below. </div><div><a href="ftp://disc2.nascom.nasa.gov/ftp/data/s4pa/TRMM_L2/2A12_BR.6/2009/135/2A12_BR.090515.65505.6.PNG" target="_blank">ftp://disc2.nascom.nasa.gov/ftp/data/s4pa/TRMM_L2/2A12_BR.6/2009/135/2A12_BR.090515.65505.6.PNG</a></div><div><br></div><div>Pls suggest.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Geeta. </div></font></span></div></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><br clear="all"><br>-- <br><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Division, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div>
</div>