<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi rashed,<div><br></div><div>Thank you so much for this!</div><div><br></div><div>Sincerely,</div><div><br></div><div>Lyndz<br><div><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On 16 Jan 2020, at 8:57 PM, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com">rashidcomsis@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi Lyndz,</div><div>Use the following instead of the two lines you mentioned in your email.</div><div>
<div>res@tmYLMode = "Explicit" </div><div>
<div></div><div>res@tmYLValues = (/875,825,775,725,675,625,575,525,475,425,375,325,275,225,175,125,70,50,30,20,10/)</div>
</div><div>res@tmYLLabels = ""+(/875,825,775,725,675,625,575,525,475,425,375,325,275,225,175,125,70,50,30,20,10/)</div>
</div><div><br></div><div>Note the difference in what you were specifying the these lines...The "tmYBMode" and "tmYBLabels" resources does not exist. Pay attention to "tm<span style="color:rgb(255,0,0)"><b>YL</b></span>", YL means <b>Y L</b>eft axis.<br></div><div><br></div><div><br></div><div>Cheers,</div><div>Rashed<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 16, 2020 at 4:36 AM Lyndz via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear NCL-experts,</div><div><br></div><div>Problem:</div><div><br></div><div>I am using the transect script provided in the NCL webpage.</div><div>I cannot explicitly change the Y-axis labels.</div><div><br></div><div>I want to label y-axis with the following values:</div><div><br></div><div>res@tmXBMode = "Explicit" </div><div>res@tmYBLabels=(/875,825,775,725,675,625,575,525,475,425,375,325,275,225,175,125,70,50,30,20,10/)<br><br></div><div>This gives the following warning:</div><div><br></div><div>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for Y axis failed: consider adjusting trYTensionF value<br>warning:IrTransInitialize: error creating spline approximation for trYCoordPoints; defaulting to linear<br>warning:tmYBMode is not a valid resource in trans_contour at this time<br>warning:tmYBLabels is not a valid resource in trans_contour at this time<br>warning:tmYBMode is not a valid resource in trans_contour at this time<br>warning:tmYBLabels is not a valid resource in trans_contour at this time<br></div><div><br></div><div><br></div><div>Attached is the script that I am using.</div><div><br></div><div>I'll appreciate any help you can provide on how I can do this correctly.</div><div><br></div>Sincerely,<br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="comic sans ms, sans-serif"><b><u>Lyndz</u></b></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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></blockquote></div>
</div></blockquote></div></div></body></html>