Re: problem with text strings

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed, 30 Nov 2005 13:44:17 -0700

Hi Mike,

I believe that setting txString will override the
gsnLeft/Center/RightString resources. FYI: You do have the option to
move the gsnLeftString downward by using gsnLeftStringOrthogonalPosF:
http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnLeftStringOrthogonalPosF

Assuming you do want to keep your gsnLeft/RightString resorces intact,
and that you aren't using gsnCenterString you can set gsnCenterString
and use the Orthogonal and Parallel resources to move the text to
wherever you want:
http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnCenterStringOrthogonalPosF
http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnCenterStringParallelPosF

Finally, if that doesn't work for you I would just go ahead and use
gsn_text_ndc and manually set the text...

Hope that helps.
Adam

brownmc_at_uci.edu wrote:
> Hi all,
> I am trying to put text in the lower left of the plots I am making. I use
> the resources:
> pres_at_txString = ":F8:l"+"="+":F4:"+gamma1+":F4:K(Wm:S:-2:N:):S:-1"
> pres_at_txJust = "BottomLeft"
> pres_at_txPerimOn = True
>
> In doing this though, it erases the left and right string
> (gsnLeftString/RightString) I have and replaces it with the above text and
> no text appears on the bottom left of the plot. Any help would be greatly
> appreciated.
>
> Mike Brown
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 30 2005 - 13:44:17 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 30 2005 - 14:13:26 MST