misc/
ajs_density_plot.pro
topajs_density_plot
ajs_density_plot, x, y, n [, min_n=int] [, overplot=bool] [, _REF_EXTRA=_REF_EXTRA]
This procedure takes a two-dimensional array and creates a plot displaying the value of the array at each point of the array.
Would be nice to plot shaded rectangles, but I can't figure that out. (See ajs_pixel_plot.)
Parameters
- x in required type=fltarr or dblarr(nx)
Bin centres, evenly spaced
- y in required type=fltarr or dblarr(ny)
Bin centres, evenly spaced
- n in required type=fltarr or dblarr(nx, ny) or (nx[
Value in each bin
Keywords
- min_n in optional type=int default=1
Minimum value to display text for n
- overplot in optional type=bool default=0
Set this keyword to overplot on current axes
- _REF_EXTRA in optional
Additional keywords for plot procedure
Author information
Author: | Anthony Smith |
Other attributes
Todo: |
max_n : maximum value for n (if different from n itself) label_max : display integer value of n if n < label_max
|
File attributes
Modifcation date: | Fri Jun 6 08:26:27 2008 |
Lines: | 86 |
Docformat: | rst rst |