Re: symbol covered

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 20 2011 - 10:12:54 MST

Yongzuo,

The "+" should appear on top if you are calling it after gsn_csm_vector_scalar_map. You didn't include your full code or a sample image, so I'm not sure how you are calling things.

Also, instead of gsn_text, you can try gsn_add_text. This attaches the text string to the plot, and then you need to draw the plot in order to see the text string:

   . . .
   res@gsnDraw = False
   res@gsnFrame = False
   . . .
   plot = gsn_csm_vector_scalar_map_ce(wks,u,v,uv,res)
   txres = True
   txres@txFontHeightF = 0.04
   txres@txFontColor = "blue"
   txid = gsn_add_text(wks,plot,"+",-76.45,34.65,txres)

   draw(plot)
   frame(wks)

--Mary

On Dec 19, 2011, at 5:02 PM, Li, Yongzuo wrote:

> Hi,
>
> I want to use
> plot = gsn_csm_vector_scalar_map_ce(wks,u,v,uv,res)
> txres = True
> txres@txFontHeightF = 0.04
> txres@txFontColor = "blue"
> gsn_text(wks,plot,"+",-76.45,34.65,txres)
>
> to make a "+", but it is covered by
> gsn_csm_vector_scalar_map_ce(wks,u,v,uv,res)
>
> How can I pull "+" out?
>
> Yongzuo
> _______________________________________________
> 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 Tue Dec 20 10:13:05 2011

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2011 - 10:44:06 MST