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

Home » Public Forums » archive » Re: Combining Velovect and Map_set graphic outputs in IDL
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: Combining Velovect and Map_set graphic outputs in IDL [message #14748] Thu, 25 March 1999 00:00 Go to previous message
hcp is currently offline  hcp
Messages: 41
Registered: August 1995
Member
In article <7dd7r0$6qt$1@nnrp1.dejanews.com>, waicken@my-dejanews.com writes:
|> I'm having difficulty getting a coastline to successfully overlay on top of
|> wind vectors produced using velovect. I'm calling velovect first to plot the
|> vectors, and then map_set with noerase switch. Unfortunately it seems really
|> difficult to get the coastline to plot to the same limits as the velovect
|> output, even juggling the 4 element limit keyword in map_set. Anybody tried
|> this before and been successful?

The approved way to do this is to switch to mapping co-ordinates FIRST, then
draw the arrows, then add the continents, like this:

IDL> map_set , /aitoff,/isotropic
IDL> velovect,zonw,merw,windlongs,windlats,/overplot
IDL> map_continents

Unfortunately, the velovect routine in versions of IDL previous to 5.2 [*]
have a bug which prevents the overplot bit working properly.
Fortunately, velovect is written in IDL so you can copy it to your own space,
rename it as Velo_actually_works and fix it yourself. If you can't work out
how I'll email my version to you, but the easiest solution if the above three
lines don't work is to upgrade to 5.2.


Hugh

[*] It may have been fixed earlier than 5.2, I can't remember exactly. Anyway, it
certainly works in 5.2

--
============================================================ ==============
Hugh C. Pumphrey | Telephone 0131-650-6026
Department of Meteorology | FAX 0131-650-5780
The University of Edinburgh | Replace 0131 with +44-131 if outside U.K.
EDINBURGH EH9 3JZ, Scotland | Email hcp@met.ed.ac.uk
OBDisclaimer: The views expressed herein are mine, not those of UofE.
============================================================ ==============
[Message index]
 
Read Message
Read Message
Previous Topic: Plots vectors or points on the current map projection.
Next Topic: Re: pick directory?

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

Current Time: Fri Oct 10 15:12:00 PDT 2025

Total time taken to generate the page: 1.03421 seconds