Re: wmbarbmap on the wrong map

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 14 2014 - 13:23:36 MDT

Hi Li,

wmbarbmap is a very limited-use routine, and it doesn't attach the windbarbs to your map. It only knows to draw the wind barbs on whatever the current created map is.

I'm not sure how you are using gsn_add_annotation, but perhaps instead of using this, you simply use the vpXF/vpYF/vpWidthF/vpHeightF resources to resize and reposition each map plot as necessary, drawing the windbarbs right after each one.

See example "weather_sym_5.ncl" at:

http://www.ncl.ucar.edu/Applications/weather_sym.shtml

which is doing this very thing. This example is a little more complicated than what you need, but it shows how to draw several plots on the same page, each with their own wmxxxx calls.

If this doesn't help, please email ncl-talk again.

--Mary

On Apr 9, 2014, at 7:48 PM, Li Dong <dongli@lasg.iap.ac.cn> wrote:

> Dear all,
>
> I have meet a problem with wmbarbmap procedure, which will draw wind barbs on the current map transformation (i.e. on the most recently created map). The problem is the last map is not the desired map, since I have two map, say map1 and map2. map1 is the main map, and map2 is a small map attached to map1 by gsn_add_annotation, so map2 is the last map. wmbarbmap should use map1 not map2. How to solve this contradiction? Thanks!
>
> Best,
>
> Li
>
>
> _______________________________________________
> 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 Mon Apr 14 13:23:50 2014

This archive was generated by hypermail 2.1.8 : Tue Apr 15 2014 - 10:45:19 MDT