Good morning (to most of you),
I have a problem locating an annotation on a map. In the attached script I make a simple map whose center is near 15.E 55.N. Then, I try to locate an annotation at these coordinates:
datatondc(base_map,15.,55.,x_out,y_out)
print(x_out+" "+y_out)
amres@amParallelPosF = x_out
amres@amOrthogonalPosF = y_out
amres@amJust = "CenterCenter"
annoid = gsn_add_annotation(base_map, txid, amres) ; Attach string to plot
First of all x_out and y_out are not near the center (0.,0.) and the string ends up at the lower left corner of the map. I am probably doing something wrong, but I don't know what it is.
Thanks,
Andrea
---- Andrea N. Hahmann Senior Scientist DTU Wind Energy Technical University of Denmark Risų Campus Frederikborgvej 399, P.O. Box 49 4000 Roskilde, Denmark Direct +45 4677 5471 Mobil: +45 2133 0550 ahah@dtu.dk http://www.vindenergi.dtu.dk/
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Fri May 25 2012 - 08:35:50 MDT