Re: 2D histogram color plot [message #41395] |
Mon, 25 October 2004 10:34 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
cwodell@gmail.com (Chris O'Dell) writes:
> Hi everyone,
>
> I need to make a scatter plot between 2 variables, x and y. Problem
> is that the number of (x,y) pairs is VERY large, so you can't really
> see what's going on in the scatter plot. I therefore would like to
> make color scatter plot, where the color in a certain x,y bin is
> related to the density of points in that bin. I see that hist_2d can
> create the physical array that I need, but then you need tv or tvscl
> or something to plot it. Does anyone have a program that will do all
> of this in one go? Ie, call hist_2d, and then make a nice plot?
Hi Chris--
You probably want something like PLOTIMAGE (by me) or IMDISP (by Liam
Gumley). Of course, this assumes you have already made a histogram
with hist_2d.
Happy plotting,
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|