<div dir="ltr"><div><div><div>How about<br>  <br><a href="https://www.ncl.ucar.edu/Applications/unique.shtml">https://www.ncl.ucar.edu/Applications/unique.shtml</a><br><br></div>Example 8 uses<br><br><pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;word-wrap:break-word;white-space:pre-wrap">
  res@lbOrientation        = &quot;Vertical&quot;
  res@lbTitleString        = &quot;Sea Surface Temperature (deg C)&quot; ; bar title
  res@lbTitlePosition      = &quot;Right&quot;                           ; title location
  res@lbTitleDirection     = &quot;Across&quot;                          ; letter angle
  res@lbTitleAngleF        = 90.                               ; title angle
  res@lbTitleFontHeightF   = 0.02                              ; font height
</pre></div>Does that do?<br><br></div>D<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 7, 2014 at 4:11 PM, Cathy Smith (NOAA Affiliate) <span dir="ltr">&lt;<a href="mailto:cathy.smith@noaa.gov" target="_blank">cathy.smith@noaa.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">NCLers<br>
I&#39;m trying to have my title for a labelbar that is vertical plot<br>
&quot;sideways&quot;. Currently, the title plots in the right location but the<br>
each letter is rotated 270 degrees. Can it be done using the default<br>
labelbar routine? Someone showed me a NCL plot that did this but didn&#39;t<br>
have the code.  I didn&#39;t see an example (so far) on the NCL example<br>
page. I tried adding<br>
<br>
 res@lbTitleAngleF=90 and  res@lbTitleAngleF=270 but neither seemed to<br>
rotate the letters.<br>
<br>
The code to display the issue below is slightly modified from<br>
<br>
lb_2.ncl<br>
<br>
load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>
load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>
;************************************************<br>
begin<br>
<br>
  in = addfile(&quot;/Datasets/ncep.reanalysis/pressure/<a href="http://vwnd.2014.nc" target="_blank">vwnd.2014.nc</a>&quot;,&quot;r&quot;)<br>
  v  = in-&gt;vwnd(0,0,:,:)<br>
<br>
<br>
  wks = gsn_open_wks(&quot;ps&quot;,&quot;lb&quot;)          ; open a ncgm file<br>
  gsn_define_colormap(wks, &quot;wgne15&quot;)<br>
<br>
  res               =   True<br>
  res@cnFillOn      =   True                ; turn on color<br>
  res@lbOrientation =   &quot;vertical&quot;          ; vertical label bar<br>
  res@lbAutoManage= &quot;True&quot;<br>
  res@lbLabelStrings =  (/&quot;-70&quot;,&quot;-50&quot;,&quot;-30&quot;,&quot;-10&quot;,&quot;10&quot;,&quot;30&quot;,&quot;50&quot;,&quot;70&quot;,\<br>
    &quot;90&quot;,&quot;110&quot;,&quot;180&quot;,&quot;190&quot;,&quot;400&quot;,&quot;500&quot;,&quot;600&quot;,&quot;700&quot;/)<br>
  res@lbTitleString=&quot;Title of labelbar&quot;<br>
  res@lbTitleDirection=&quot;Down&quot;<br>
  res@lbTitlePosition = &quot;Left&quot;<br>
  contour = gsn_csm_contour_map_ce(wks,v(:,:),res)  ; create the plot<br>
end<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Cathy<br>
<br>
--<br>
----------------------------------------------<br>
NOAA/ESRL PSD and CU CIRES<br>
<a href="tel:303-497-6263" value="+13034976263">303-497-6263</a><br>
<a href="http://www.esrl.noaa.gov/psd/people/cathy.smith/" target="_blank">http://www.esrl.noaa.gov/psd/people/cathy.smith/</a><br>
<br>
Emails about data/webpages may get quicker responses from emailing<br>
<a href="mailto:esrl.psd.data@noaa.gov">esrl.psd.data@noaa.gov</a><br>
<br>
</font></span><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></div>