./
clock_plot.pro
topclock_plot
plotting
clock_plot, data, angle, radius [, TITLE=TITLE] [, XTITLE=XTITLE] [, YTITLE=YTITLE] [, CBTITLE=CBTITLE] [, CT=CT] [, NO_FANCY=NO_FANCY] [, NO_COLORBAR=NO_COLORBAR] [, XRANGE=XRANGE] [, YRANGE=YRANGE] [, ZRANGE=ZRANGE] [, ZLOG=ZLOG] [, CBTOP=CBTOP] [, CBBOTTOM=CBBOTTOM] [, NAN2COLOR=NAN2COLOR] [, BREWER=BREWER], TIMESTAMP=TIMESTAMP, NO_EARTH=NO_EARTH [, _EXTRA=_EXTRA]
make a plock plot of data, this is the equilivent of imagesc in a polar sense
this uses polyfill to make all the bins
Parameters
- data in required
2d array of daya to plot in for the form [angle,radius]
- angle in required
1d array of angles corresponding to the data array is 1 element larger than data to close the bins
- radius in required
1d array of radii corresponding to the data array is 1 element larger than data to close the bins
Keywords
- TITLE in optional
title of the plot
- XTITLE in optional
xtitle of the plot
- YTITLE in optional
ytitle of the plot
- CBTITLE in optional
colorbar title
- CT in optional
color table to use
- NO_FANCY in optional
no fancy earth
- NO_COLORBAR in optional
dont plot a colorbar
- XRANGE in optional
xrange of the plot
- YRANGE in optional
yrange of the plot
- ZRANGE in optional
z (color) range of the plot
- ZLOG in optional
plot colorbar in log
- CBTOP in optional
put the colorbar across the top
- CBBOTTOM in optional
put the colorbar across the bottom
- NAN2COLOR in optional
the color index to plot nan data as
- BREWER in optional
use Brewer color tables (see ctload)
- TIMESTAMP
- NO_EARTH
- _EXTRA in optional
extra inputs to plot
Examples
IDL> data=randomn(seed, 6, 10)
IDL> r=findgen(11)+1
IDL> theta=scale_vector(findgen(6+1), 0, 2*!dpi)
IDL> clock_plot, data, theta, r, zrange=[floor(min(data)),ceil(max(data))]
Author information
- History:
Mon Oct 27 16:37:50 2008, Brian Larsen written and tested, still lots of room for improvement
Statistics
| Lines: | 151 |
| McCabe complexity: |
File attributes
| Modifcation date: | Thu Nov 13 14:24:38 2008 |
| Lines: | 221 |
![[attach.png]](idldoc-resources/attach.png)