<div dir="ltr">Hi <span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Pradeepa,</span><div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:16px">Your tmYRValues need to fall within the tmYL range for them to show up. For instance, I bet if you change this:</span></font></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">res@tmYRValues = (/640.00,2200.00,4200.00,6700.</span><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">00,8000.00,12500.00,14100.00/)</span><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:16px"><br></span></font></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">to this:</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">res@tmYRValues = fspan(270,420,7)</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">the labels will show up. Thus, I think you will need to map your desired right hand side Y-axis values up to your values on the left hand side Y-axis.</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Hope that helps. If not, or if you have any further questions, please respond to the ncl-talk email list and not to me personally.</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">Adam</span></div><div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size:16px"><br></span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 13, 2016 at 5:54 PM, Vennam, Lakshmi Pradeepa <span dir="ltr">&lt;<a href="mailto:lakshmi@live.unc.edu" target="_blank">lakshmi@live.unc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello all,</p>
<p><br>
</p>
<p>Few weeks back I posted to ncl-talk that I wasn&#39;t able to get <font size="3">right side</font><font size="3"> Yaxis labels </font><font size="3">in some of the </font><font size="3">plots that I am trying to do. </font></p>
<p><span style="font-size:medium"><br>
</span></p>
<p><span style="font-size:medium">So I tested right </span><span style="font-size:12pt">Yaxis labels function (</span><span style="font-size:12pt">tmYRLabels)</span><span style="font-size:12pt"> </span><font size="3">with a simple sample script.  I
 am attaching my sample script, figure and log file here</font><font size="3">.</font></p>
<p><br>
</p>
<p>When I printed the YRLabels variable summary it shows the explicit labels that I provided (look at the log file) but for some reason they are not plotted in the figure. Can someone please let me know if I am missing anything in my sample script. Appreciate
 any kind of help. </p>
<p><br>
</p>
<p>I am also pasting my code below for a quick glance.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Pradeepa. </p>
<p><br>
</p>
<p><b><u>Code:</u></b></p>
<p><br>
</p>
<p>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;</p>
<p>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;</p>
<p><br>
</p>
<p>begin</p>
<p><br>
</p>
<p> wks = gsn_open_wks(&quot;pdf&quot;,&quot;test9yRlabel&quot;)</p>
<p> gsn_define_colormap(wks,&quot;gui_default&quot;)        ; choose colormap</p>
<p> plot1 = new(1, graphic)</p>
<p><br>
</p>
<p> YL = (/280,300,320,340,360,380,400,420,440/)</p>
<p> X = (/10,15,20,25,30,35,40,45,50/)</p>
<p><br>
</p>
<p> res = True </p>
<p> res@tmYROn     = True              ; turn on the YR tickmarks</p>
<p> res@tmYRLabelsOn = True              ; turn the YR labels on</p>
<p> res@tmYUseLeft = False</p>
<p> res@tmYRMode = &quot;Explicit&quot;  ; explicitly set Y-axis labels</p>
<p> res@tmYRValues = (/640.00,2200.00,4200.00,6700.00,8000.00,12500.00,14100.00/)</p>
<p> res@tmYRLabels = (/&quot;640&quot;,&quot;2200&quot;, &quot;4200&quot;, &quot;6700&quot;, &quot;8000&quot;, &quot;12500&quot;, &quot;14100&quot;/) </p>
<p><br>
</p>
<p> plot1 = gsn_csm_xy(wks,X,YL,res)</p>
<p><br>
</p>
<p>  getvalues plot1                         ; retrieve some of the plot resources</p>
<p>     &quot;tmYLLabels&quot;  : tmYLLabels          ; values used by NCL at major tick marks</p>
<p>  end getvalues</p>
<p>   getvalues plot1                         ; retrieve some of the plot resources</p>
<p>     &quot;tmYRLabels&quot;  : tmYRLabels          ; values used by NCL at major tick marks</p>
<p>  end getvalues </p>
<p> </p>
<p> printVarSummary(tmYLLabels)</p>
<p> print(tmYLLabels)</p>
<p> printVarSummary(tmYRLabels)</p>
<p> print(tmYRLabels)</p>
<p><br>
</p>
<p>frame(wks)</p>
<p>delete(res)</p>
<p><br>
</p>
<p>end</p>
</div>
</div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><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 Laboratory, 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></div></div></div></div></div></div>
</div>