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

Home » Public Forums » archive » Irregularly Lat Lon Grid: Displaying Land Types
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: Irregularly Lat Lon Grid: Displaying Land Types [message #41033 is a reply to message #40879] Thu, 16 September 2004 00:54 Go to previous message
Klaus Scipal is currently offline  Klaus Scipal
Messages: 45
Registered: November 1997
Member
In principle it depends on the grid you use. In global remote sensing for
example, irregular grids are in fact often the product of a sinusoidal
projection, i.e the number of gridpoints decreases with latitude to get
equally sized cells.

Anyway, a quick and dirty way of doing the plotting is to define a
usersymbol which is a filled circle and then use plots with the color
keyword. Color must have the same size as your lon,lat files and it should
contain the colorcodes of the parameter you want to display.

The code might look as follows

a=Findgen(32)*!pi/16.
r=0.1
UserSym,r*cos(a),r*sin(a),/Fill ; define a usersymbol which is a circle and
has the radius r

Plots,lon,lat,Psym=8,Color=color

regards

Klaus






"Thundurstruck" <alonge@atmos.albany.edu> wrote in message
news:fd11a4c5.0409130848.5fbf26c4@posting.google.com...
> Hello all,
>
> I have vegetation type data (Integer 1-13) on a 12km grid and
> would like to display it on a map. I don't want to contour the data
> but rather just display the grid boxes colored according to the
> vegetation class. I can't use map_image (not a regular lat/lon grid).
> Any ideas or suggestions will be greatly appreciated.
>
> Running IDL 5.4 on SGI IRIX
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Irregularly Lat Lon Grid: Displaying Land Types
Next Topic: Re: string animations etc.

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

Current Time: Fri Oct 10 11:28:42 PDT 2025

Total time taken to generate the page: 0.32182 seconds