[1]
Please include a better "Subject" than just 'ncl'
All questions to ncl-talk are ncl related.
[2]
Please see the Applications (Example) page. For example,
Example 1 at http://www.ncl.ucar.edu/Applications/text.shtml
res = True ; plot mods desired
res@gsnFrame = False ; don't advance frame yet
plot=gsn_csm_xy(wks,......) ; Draw xy plot.
;************************************************
; Draw text on plot using plot coordinates.
;************************************************
txres = True ; text mods desired
txres@txFontHeightF = 0.03 ; font smaller. default big
info = "s="+sprintf("%5.2f", slope) +"; yi="+sprintf("%5.2f", y_inter)
gsn_text(wks,plot, info ,6500, 271.25 ,txres)
frame(wks) ; now advance frame
or, simpler
res = True ; plot mods desired
[snip]
res@gsnCenterString= "s="+sprintf("%5.2f", slope) + \
"; yi="+sprintf("%5.2f", y_inter)
plot=gsn_csm_xy(wks,......) ; Draw xy plot.
On 9/25/11 7:36 AM, cnl88 wrote:
> how can i write the command to display slope and r in the drawing above .
> hope for your help ;thank you
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Sep 25 07:51:46 2011
This archive was generated by hypermail 2.1.8 : Mon Sep 26 2011 - 14:45:50 MDT