comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » cgDrawVectors over map problem?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: cgDrawVectors over map problem? [message #89690 is a reply to message #89620] Sun, 16 November 2014 23:20 Go to previous messageGo to previous message
Dave[4] is currently offline  Dave[4]
Messages: 38
Registered: December 2007
Member
在 2014年11月2日星期日UTC+8上午8时54分05秒,Dave写 道:
> Hi David:
>
> I want to use cgDrawVectors to draw wind over map, like this:
>
> mapNorth = Obj_New('cgMap', 'Polar Stereographic', Limit=[0, -180, 90, 180], /NoBorder)
> mapNorth -> Draw
>
> cgMap_Continents, Color='black', map_structure=mapNorth
> cgMap_Grid, LatDel=15, LonDel=15, LineStyle=1, Color='charcoal', /label, lonlabel=2, map_structure=mapNorth
>
> cgDrawVectors, 10, 0, 140, 40, vecColors='black', /Overplot, referencevector=10, /solid, thick=2, MapCoord=mapNorth
>
> In this example, the wind (u=10,v=0) should blow towards east. But the plotted wind blow towards right.
>
> That's to say, the wind direction does not fellow the map projection. So why. Very thanks!
>
> Dave

Hi david:
Another question. Now cgvector work fine with cgmap object, but not with cgmapset. Very thanks!
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 6.1: X11 forward display. Mouse click not responsive on remote session.
Next Topic: polar_contour with log coordinates

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:59 PDT 2025

Total time taken to generate the page: 0.00432 seconds