Re: Combining Velovect and Map_set graphic outputs in IDL [message #14748] |
Thu, 25 March 1999 00:00  |
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.
============================================================ ==============
|
|
|