[ncl-talk] Polar plot labels being drawn on top of gsnPanelFigureStrings
Mary Haley
haley at ucar.edu
Tue Mar 17 16:35:46 MDT 2015
Hi Rich,
The figure strings are added after the polar labels, so I'm not sure why
you are seeing the polar labels on top. I was able to reproduce this
problem using an example test plot.
Let me look into this and get back to you.
If you don't hear from me, you may want to consider adding the figure
strings yourself, before you call panel.
For an example on this, see example text_9.ncl at:
http://www.ncl.ucar.edu/Applications/text.shtml#ex9
which shows how to add your own strings using gsn_create_text and
gsn_add_annotation. To get a label at the top left of the plot, try these
settings for gsn_add_annotation:
amres at amParallelPosF = -0.5 ; This is the left edge of the plot.
amres at amOrthogonalPosF = -0.5 ; This is the top edge of the plot.
amres at amJust = "TopLeft"
annoid2 = gsn_add_annotation(plot, txid2, amres)
--Mary
On Tue, Mar 17, 2015 at 2:16 PM, Richard Neale <rneale at ucar.edu> wrote:
> I have a plot (attached) that simply uses a call to
> gsn_csm_contour_map_polar that is plotted using a gsn_panel call. When I do
> that the longitude labels seem to be drawn after the gsnPanelFigureStrings
> are placed, making them both clash on the plot. Is there a draw ordering I
> can invoke or something to correct it?
>
> Thanks
> Rich
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Richard Neale - rneale at ucar.edu - http://www.cgd.ucar.edu/cms/rneale -
> Atmospheric Modeling & Predictability, CGD, NCAR =-=-=-=-=-=-=-=-=-=-
> P.O. Box 3000, Boulder, CO 80307-3000 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Tel (303) 497-1380 Fax (303) 497-1324 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20150317/685d9c7b/attachment.html
More information about the ncl-talk
mailing list