[ncl-talk] Avoiding overwritten gsnCenterString

Dennis Shea shea at ucar.edu
Wed Jun 19 08:57:15 MDT 2019


re: "is there any 'AUTOMATIC' way to avoid overwriting the gsnCenterString?"

Sorry, no.


On Wed, Jun 19, 2019 at 4:03 AM S Br via ncl-talk <ncl-talk at ucar.edu> wrote:

> 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
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190619/00b0346c/attachment.html>


More information about the ncl-talk mailing list