Displaying Vector Data on a Map
You can use the iVector tool along with the iMap tool to easily add vector data in a map display.
- Load some vector data representing global wind patterns:
- Create a map display of the globe, using the Mollweide projection:
- Select Insert → Map → Continents to display the continental outlines.
- Double-click on the continental outlines to display their property sheet. Set the Transparency value to zero and select a light grey fill color.
- Finally, launch iVector to create the vector display, coloring the wind vectors according to their magnitude:
RESTORE, FILEPATH('globalwinds.dat', SUBDIR=['examples','data'])
This command creates four variables — u, v, x, and y— that contain the vector data.
IMAP, MAP_PROJECTION='Equirectangular', LIMIT=[-35, -90, 35, 90]
For additional information on creating vector displays, see the Working with Vectors and IVECTOR topics in the IDL Online Help.
