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

Home » Public Forums » archive » Plotting GSHHS coastline data in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Plotting GSHHS coastline data in IDL [message #47343] Thu, 02 February 2006 09:49 Go to next message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
Andrew Cool recently asked me for a copy of an IDL procedure I wrote a
while ago to plot GSHHS coastline data, i.e.,

http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html

The GSHHS plotting routine for IDL is now available at

ftp://ftp.ssec.wisc.edu/pub/gumley/IDL/gshhs/

The plotting routine is named gshhs_plot.pro, and it works with both
map_set and map_proj_init map projections. The routine named
gshhs_example.pro shows examples of how to use the plotting routine.

Let me know if you have any questions.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: plotting [message #49621 is a reply to message #47343] Sat, 05 August 2006 12:14 Go to previous message
news.verizon.net is currently offline  news.verizon.net
Messages: 47
Registered: August 2003
Member
Amanda wrote:
> I have a file of 103 redshift values and I want to plot them on the x
> axis against the number of times that each one occurs on the y axis.

This is the definition of a histogram. You will want to use HISTOGRAM
function, and plot the histogram of the redshift vector.

If you are going to be using IDL for astronomy, then you might want
someone (the same person whot told you about readcol.pro) help you
download the entire IDL astronomy library so that you have access to
all the procedures in it. Then if you have a file, say
'redshift.dat', with 103 redshift values, the following two commands
will plot a histogram of the redshift values.

IDL> readcol,'redshift.dat', z ;Read the redshift values from the
file
IDL> plothist, z, bin=0.1 ;plot a histogram with a binning of
0.1 in redshift space

--Wayne Landsman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: plotting
Next Topic: Seconds to UTC date

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

Current Time: Wed Oct 08 22:07:32 PDT 2025

Total time taken to generate the page: 1.03366 seconds