[ncl-talk] left-justification problem about gsn_panel txString

Adam Phillips asphilli at ucar.edu
Wed Jun 15 11:18:28 MDT 2016


Hi Jiang,
In short: The resources needed to set the txString to the left hand side of
the panel do not exist. I would suggest using gsn_text_ndc to set the title
where you want it:
http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_text_ndc.shtml
Hope that helps..
Adam

On Wed, Jun 15, 2016 at 5:21 AM, Jiang Ziqiang <zqjiang86 at hotmail.com>
wrote:

> Hi, ncl-talk
>
>
> plres at gsnPanelLeft = 0.1
>
> plres at gsnPanelXWhiteSpacePercent = 5
>
> plres at gsnPanelBoxes = True
>
> plres at txString = "Surface Wind"
>
> plres at txJust = "CenterLeft"
> plres at txPosXF = plres at gsnPanelLeft
>
>
> set gsnPanelXWhiteSpacePercent  to non-zero,  it is very difficult to
> make the left-aligned text or title.
>
>
>
>
> The Title (ti) Resources (tiMainJust and tiMainPosition)  is of convenience,
> and make text quickly left-justification.
>
> Whether or not  *gsnPanelMain
> <http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPanelMainFont> Resources *can
> refer to this method?
>
>
>
> Thanks for your wonderful work !
>
>
> Ziqiang
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160615/4a8f366b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 9374 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160615/4a8f366b/attachment.png 


More information about the ncl-talk mailing list