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 #89697 is a reply to message #89690] Mon, 17 November 2014 05:24 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dave writes:

> Another question. Now cgvector work fine with cgmap object, but not with cgmapset. Very thanks!

In what way do you think it doesn't work?

This works:

posx = cgScaleVector(RandomU(seed,200), -160, 160)
posy = cgScaleVector(RandomU(seed,200), -35, 70)
velx = RandomU(seed,200)-0.5
vely = RandomU(seed,200)-0.5
cgMap_Set, /Cylindrical
cgDrawVectors, velx, vely, posx, posy, /Overplot, VecColor='red'
cgMap_Grid
cgMap_Continents

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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: Sat Oct 11 09:08:35 PDT 2025

Total time taken to generate the page: 1.91894 seconds