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

> like this:
>
> cgMap_Set, 90, 45, /stereo
> cgDrawVectors, 10, 0, 140, 40, vecColors='black', /Overplot, referencevector=10, /solid, thick=2
> cgMap_Grid
> cgMap_Continents
>
> the vector' direction is not right. So only /Cylindrical is ok.

Ah, but now you are asking for cgDrawVectors to have a priori knowledge
of a command that was executed sometime before cgDrawVectors came onto
the scene. I suppose there might be a way to parse that knowledge out of
the !Map system variable, but if there is, I'm not going to discover
what it is. :-)

If you want to use polar map projections, set them up with cgMap and
tell cgDrawVectors about it. This approach seems pretty straightforward
to me. If it were up to me, I would delete all the Map_Set projections
entirely from IDL. They are VERY old. Map_Proj_Init projections are old,
too, but at least they were once the creme-de-la-creme of map projection
software. I guess the only thing I would even consider using cgMap_Set
for would be a cylindrical projection. :-)

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: Wed Oct 08 13:52:46 PDT 2025

Total time taken to generate the page: 0.00377 seconds