Dear Xin Xi,
I don't think there's any resource that turns off this text. But, you can try setting the font height to 0.0:
res@cnConstFLabelFontHeightF = 0.0
You can also add a test in your code to not even create the plot if the values are all the same:
if(min(x).eq.max(x)) then
print("the values are all constant; no plot created")
else
res = True
.
.
.
plot = gsn_csm_contour(wks,a,res)
overlay(base_plot,plot)
end if
--Mary
On Jan 27, 2012, at 3:10 PM, Xin Xi wrote:
> Hello,
> I am making a plot of multiple MODIS granules on one single domain. For certain contour layer, I got such text overlaid on my base map contour, which I donot want to happen. How can I remove such text? Thanks!!
>
> --
> Xin Xi
> School of Earth and Atmospheric Sciences
> Georgia Institute of Technology
> 311 Ferst Drive, Atlanta, GA 30332-0340
>
> _______________________________________________
> 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 Sat Jan 28 23:52:33 2012
This archive was generated by hypermail 2.1.8 : Thu Feb 02 2012 - 03:10:31 MST