<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><span style="font-size:small">I am drawing a longitude versus pressure panel plot using the procedure gsn_csm_pres_hgt </span>(see test.png). Between the left and the right panels, I do not want any labels  but I want to restore the right labels including "Height (km)" for the right panel. I used the following:</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">nplots = 2</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">plots<span class="gmail-Apple-converted-space">  </span>= new(nplots,graphic)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128);min-height:17px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">diag = rhu_gf(nFGLevels|:,lon|:)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">;res@gsnLeftStringParallelPosF = -0.05</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@gsnLeftString = "a) GFu: RELATIVE HUMIDITY (-)"</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tiYAxisOn <span class="gmail-Apple-converted-space">    </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYLOn<span class="gmail-Apple-converted-space">        </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYLBorderOn<span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYROn<span class="gmail-Apple-converted-space">        </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYRBorderOn<span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYRLabelsOn<span class="gmail-Apple-converted-space">  </span>= False</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">plot = gsn_csm_pres_hgt(wks,diag,res)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">getvalues plot@contour</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">   </span>"pmAnnoManagers" : am_ids</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">end getvalues</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">index = ind(NhlName(am_ids).eq."right_axis")</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">if(.not.ismissing(index)) then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">   </span>NhlRemoveAnnotation(plot@contour,am_ids(index))</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">end if</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">plots(0) = plot</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">delete(index)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">delete(plot)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128);min-height:17px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">diag = rhv_gf(nFGLevels|:,lon|:)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">;res@gsnLeftStringParallelPosF = -0.05</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@gsnLeftString = "b) GFv: RELATIVE HUMIDITY (-)"</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tiYAxisOn <span class="gmail-Apple-converted-space">    </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYLOn<span class="gmail-Apple-converted-space">        </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYLBorderOn<span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYLLabelsOn<span class="gmail-Apple-converted-space">  </span>= False</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYROn<span class="gmail-Apple-converted-space">        </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYRBorderOn<span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">res@tmYRLabelsOn<span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">plots(1) = gsn_csm_pres_hgt(wks,diag,res)</span></p></div>





<div class="gmail_default" style="font-size:small"><br></div><div><br></div><div><div class="gmail_default" style="font-size:small">Unfortunately that did not restore the labels and title of the right axis. I wonder if that has to do with using <span style="color:rgb(0,0,128);font-family:Courier;font-size:14px;font-variant-ligatures:no-common-ligatures">NhlRemoveAnnotation set in </span>plots(0). Is there a way around this?</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small">Laura</div><div class="gmail_default" style="font-size:small"><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Laura D. Fowler                                                                                       </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Mesoscale and Microscale Meteorology Division (MMM)         </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">National Center for Atmospheric Research<br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">phone: 303-497-1628</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div></div>