[ncl-talk] Avoiding overwritten gsnCenterString

S Br sbr.climate at gmail.com
Wed Jun 19 04:03:28 MDT 2019


Hi All,
I am generating a multi lines panel plot with multiple overlay command.
However, the 'gsngsnCenterString' defined is overwriting may be due to the
use of multiple 'overlay' command and the CenterString becomes thicker.
Is there any way to avoid overwriting the CenterString?
;**********************************
  res at gsnCenterString     = "AMOnr PI"         ; change Center string
   res at gsnLeftString       = "(b)"         ; change Left string
   res at gsnStringFontHeightF = 0.010

   res at xyLineColors        = (/"green4"/) ; Line colours (white-to
invisible the markov line)
   plot(2) = gsn_csm_xy(wks, p11, spec1 at spcx, res)
   res at xyLineColors        = (/"red"/) ; Line colours (white-to invisible
the markov line)
   plot2 = gsn_csm_xy(wks, p21, spec2 at spcx, res)
   res at xyLineColors        = (/"blue"/) ; Line colours (white-to invisible
the markov line)
   plot3 = gsn_csm_xy(wks, p31, spec3 at spcx, res)

   overlay(plot(2),plot2)
   overlay(plot(2),plot3)
;***************************************************

Thank you.
SB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190619/cc9a93be/attachment.html>


More information about the ncl-talk mailing list