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

Home » Public Forums » archive » Re: 2-D Density Plots
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
Re: 2-D Density Plots [message #33591] Wed, 15 January 2003 07:38
David Burridge is currently offline  David Burridge
Messages: 33
Registered: January 1998
Member
Hi Justin,


"Justin Sieglaff" <justins@ssec.wisc.edu> wrote in message
news:9bc4f51c.0301131508.73b9098d@posting.google.com...
> I was wondering if anyone knows of a simple way to create 2-d density
> plots? Any help would be great!


I wrote this really cool, fast routine to do this (by mapping byte values
from two imagesinto the upper and lower half of a short integer) then
discovered HIST_2D which does the same:-(

Cheers,

Dave
--
David Burridge
Burridge Computing, 18 The Green South
Warborough, Oxon, OX10 7DN
England
Tel: +44 (0) 1865 858279, Email: davidb@burridgecomputing.co.uk



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
Re: 2-D Density Plots [message #33623 is a reply to message #33591] Mon, 13 January 2003 16:46 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Justin Sieglaff" <justins@ssec.wisc.edu> wrote in message
news:9bc4f51c.0301131508.73b9098d@posting.google.com...
> I was wondering if anyone knows of a simple way to create 2-d density
> plots? Any help would be great!

What do you mean by "2D density plot". Do you mean a plot that displays 2D
numeric data as a 2D array of cells, with the colour of each cell
representing the corresponding numeric value via a number->color mapping?

Plots like these tend to be loosely called "image plots" in the IDL
community. Matlab refers to them as pseudo-color plots. In the Mathematica
documentation they're referred to as density plots. And this is the term
that I have tended to use.

There is a lot of IDL software out there to plot density plots (in this
sense)

Have a look at David Fanning's XIMAGE at

http://www.dfanning.com/

Craig Markwardt's PLOTIMAGE at

http://astrog.physics.wisc.edu/~craigm/idl/idl.html

Liam Gumley's IMDISP at

http://www.gumley.com/PIP/Free_Software.html

I have tried several ways of implementing density plots in object graphics
in my Motley IDL library:

ftp://ftp.niwa.co.nz/incoming/m.hadfield/idl/README.html

See the MGH_Density class & the MGH_EXAMPLE_DENSITY example program.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: string definition question
Next Topic: Re: Scroll bars not appearing

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

Current Time: Fri Oct 10 08:41:45 PDT 2025

Total time taken to generate the page: 0.09887 seconds