<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;">Hello,</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;"><span style="font-size: 12pt;">I am trying to give explicit right side Y-axis labels but for some reason unable to get them on the plot. </span> <span style="font-size: 12pt;">Can someone please
let me know if I am missing anything? </span></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;"><u>Code :</u></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL = True ; plot mods desired</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@gsnDraw = False ; don't draw</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@gsnFrame = False ; don't advance frame</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tiYAxisString = ""</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tiXAxisString = ""</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@xyLineColor = "Red"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYROn = True ; turn on the YR tickmarks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYUseLeft = False</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYRLabelsOn = True ; turn the YR labels on</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYRMode = "Explicit" ; explicitly set Y-axis labels</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYRValues = (/"640","2200","6700","10000","12500","14100"/)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> resL@tmYRLabels = (/"640","2200","6700","10000","12500","14100"/)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> plot1(0) = gsn_csm_xy(wks1,lat_avg,theta_P1(0,:,:),resL)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> plot1(1) = gsn_csm_xy(wks1,lat_avg,theta_P2(0,:,:),resL)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> plot1(2) = gsn_csm_xy(wks1,lat_avg,theta_P3(0,:,:),resL)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"> plot1(3) = gsn_csm_xy(wks1,lat_avg,theta_P4(0,:,:),resL)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;"><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;">
<div> resP = True ; modify the panel plot</div>
<div> resP@gsnFrame = False ; don't advance panel plot</div>
<div> resP@gsnPanelLabelBar = True</div>
<div>
<div> resP@gsnPanelFigureStrings= (/"JFM","AMJ","JAS","OND"/) ; add strings to panel</div>
<div> resP@amJust = "TopLeft"</div>
gsn_panel(wks1,plot1,(/2,2/),resP) ;draw panel plot<br>
</div>
<div><br>
</div>
<div>
<div> txresP = True</div>
<div> txresP@txAngleF = 90. ; Rotate string clockwise</div>
<div> txresP@txFontHeightF = 0.02</div>
<div> gsn_text_ndc(wks1,"Potential Temperature(theta)",0.085,0.5,txresP) ; add the common left y-axis
</div>
<div><span style="font-size: 12pt;"> gsn_text_ndc(wks1,"Latitude (degree)",0.5,0.095,txresP); add the common bottom x-axis label</span></div>
<br>
</div>
<div><span style="font-size: 12pt;"> frame(wks1)</span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Pradeepa.</div>
<div><br>
</div>
</div>
</div>
</body>
</html>