Re: Different Colors for the Text

From: <tingting_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 27 2013 - 09:17:28 MDT

Hi Jayasankar,
I think it maybe help if you use "gsn_text_ndc".
For example:
.....
colors = (/.../)
num_distinct_labels = dimsizes(labels)+1
do i=0,num_distinct_labels-1
txres@txFontColor = colors(i)
gsn_text_ndc(wks,labels(i),xline(i),yline(i),txres)
end do
......
Hope it works!
Tingting

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 27 09:17:39 2013

This archive was generated by hypermail 2.1.8 : Mon Jul 01 2013 - 12:35:42 MDT