I am using ncl 6.1.2. When I try to call gsn_text_ndc before the call to
gsn_csm_contour_map, the text displays.
----------------------------
; Create a control string for the plot
cstr="Min/Max control: "+min(d1)+"/"+max(d1)+" "+"Min/Max Diff:
"+min(data)+"/"+max(data)
print(cstr)
; Attach all necessary labels
txresb = True
txresb@txFontHeightF = 0.010
gsn_text_ndc(wks,cstr, 0.5, 0.1, txresb)
; plot the map
map = gsn_csm_contour_map(wks,data,res)
draw(map)
-----------------------------
When I reverse it, the text does not display.
----------------------------
; Create a control string for the plot
cstr="Min/Max control: "+min(d1)+"/"+max(d1)+" "+"Min/Max Diff:
"+min(data)+"/"+max(data)
print(cstr)
; plot the map
map = gsn_csm_contour_map(wks,data,res)
; Attach all necessary labels
txresb = True
txresb@txFontHeightF = 0.010
gsn_text_ndc(wks,cstr, 0.5, 0.1, txresb)
draw(map)
-----------------------------
Why is this and is there a way to enable additional debugging so that I
could see what NCL is doing when I run into future problems like this?
Thanks,
Craig
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 26 11:59:20 2014
This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST