Friday, October 10, 2008

[SubRT] Easy 2D Contour Plot

David Pace, graduate student at UCLA, made a nice IDL SR for contour plot.
Conmake.pro is very useful and easy to use.

Some examples are showing here.

Fig. 1: Example contour illustrating axis labels and colorbar.
The command to produce this contour is,
IDL> conmake, input, xaxis, yaxis, 256, xlab=2, ylab=2, /cbar
where input (two dimensional array), xaxis (one dimensional array), and yaxis (one dimensional array) were IDL variables.


Fig. 2: Contour example illustrating use of the axis labels, colorbar, and overplot settings.
The command to produce this contour is,
IDL> conmake, input, xaxis, yaxis, 256, xlab=2, ylab=2, overp=opinput
where opinput is a two dimensional array. The array to be overplotted should have the same scaling with the x and y axes as the main contour so that a sensible output results.

1 comment:

Unknown said...

ClickStrip Software for Windows® is the low cost way to begin using time-saving filing techniques such as color coding and shelf filing

http://www.filingsupplies.com/Clickstrip-s/258.htm