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

Home » Public Forums » archive » Plotting Vectors on Map Objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting Vectors on Map Objects [message #94450] Wed, 24 May 2017 12:35 Go to previous message
emgrono is currently offline  emgrono
Messages: 7
Registered: April 2015
Junior Member
Hello.
I am using cgdrawvectors to draw vectors on a map created with map_set. However, while the location of the vectors on the map is correct, the orientation is not relative to the coordinate system of the map, but to the "screen" (there may be a better way to describe this).

I saw in the cgdrawvectors documentation that it may place nice with cgmap objects, and so I thought I would try creating the map as an object with cgmap. This hasn't worked out so easily though. I have been able to draw a map, and do some basic things with it, but I haven't been able to recreate my map.

For example, I couldn't figure out how to recreate the effect of the scale argument in map_set and zoom in. The Limit and xrange/yrange arguments to cgmap do not seem to do this. Any help understanding how to work with map objects would be appreciated. Solutions to the problem described in the first paragraph that don't involve map objects are also welcome.

This is basically what I am trying to recreate:
pa = [0, 0, 1, 1]
scale = 3.2e7
lat = 65
lon = 258
map_set, lat, lon, /stereo, /continents, scale = scale, position = pa, /isotropic, /noborder
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: idl parallel processing
Next Topic: Creating an imcountour for a bpt

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

Current Time: Wed Oct 08 13:54:18 PDT 2025

Total time taken to generate the page: 0.00358 seconds