Markwardt IDL Page

What's New

Programs
   Curve Fitting
   Fitting Tutorial
   Introspection
   Save Files
   Array/Set
   Printing
   Graphics
   Mathematics
   Ephemeris/Timing
   Input/Output
   Miscellaneous
   Full Listing
   Documentation

Google

Markwardt IDL Pages
Entire Web

Craig's techie blog.

Home Page of Craig Markwardt



 


IDL Graphics Programs




These programs use a "PANEL" package, which is included within the program code. Aside from the files listed, no extra downloads are needed. Please let me know if you have problems. I am still updating these programs as needed.

All of the plotting programs should behave correctly if you give either the standard POSITION keyword or no positioning information at all. They also accept an arcane "PANEL/SUBPANEL" notation which you should not worry about unless you want to. PLOTCUBE is a whimsical demonstration of PANELs -- an example of how to create a tight matrix of plots.

You can download the entire plotting archive here:

Mar 29 200827 kb cmplot.tar.gz  
Mar 29 200837 kb cmplot.zip  
Jan 31 20001 kb GREADMEGeneral Documentation  
Dec 06 20031 kb INSTALLInstallation Instructions  

PLOTIMAGE - Display an image using a PLOT-like interface

Example Screen shot - the lower panel is created by PLOTIMAGE

PLOTIMAGE in particular makes it very easy to plot images or slices of images with proper coordinate axes. Once this is done, then overlays of other graphics like contours is very easy, since the coordinate system is already established. Display of images is essentially achieved in the same way that other data is plotted with PLOT. You can specify an XRANGE and YRANGE to include or exclude any part of the image, etc. OPLOTIMAGE will overlay an image on an existing plot, not necessarily created by PLOTIMAGE.

This new version (19 Apr 2000) has significant improvements. Display of true-color 8 and 24 bit images should work in both 8 and 24 graphics modes. By default the screen image is not smoothed; activate smoothing with the /INTERP keyword. Printed images can be automatically smoothed to achieve a minimum desired pixel resolution via the MIN_DPI keyword. Automatic intensity scaling of 8 bit images can be done via the RANGE keyword and its attendant color table selection keywords. The /PRESERVE_ASPECT keyword will maintain the aspect ratio of the image, keeping pixels square.

Jul 14 200726 kb plotimage.pro  
Mar 25 20013 kb oplotimage.proREQUIRES plotimage.pro  

PLOTCOLORFILL - Display colorful bar charts

Example Screen shot - a color-coded X-ray light curve

PLOTCOLORFILL plots nice and optionally colorful bar charts. The example code in the documentation shows how to make stacked bar charts.

Nov 23 200310 kb plotcolorfill.pro  

PLOTCUBE - Plot three dimensional data as a cube

Example Screen shot

PLOTCUBE is a whimsical demonstration of PANELs -- an example of how to create a tight matrix of plots which can be printed and folded to make a three dimensional cube.

May 28 20016 kb plotcube.pro  

PLOTBIN - Plot fixed or variable-width histogram

PLOTBIN plots histograms. The width of the histogram bins can be variable by using the WIDTH keyword.

Apr 30 20046 kb plotbin.pro  
Apr 30 20045 kb oplotbin.pro  


Copyright © 1997-2004 Craig B. Markwardt
Last Modified on 2008-03-29 14:20:15 by Craig Markwardt