Fanning Software Consulting

Coyote Graphics System (CGS) Commands

QUESTION: What in the world is the Coyote Graphics System (CGS) I am hearing so much about!?

ANSWER: The Coyote Graphics System (CGS) is a collection of Coyote Library programs that turn the traditional IDL graphics commands (e.g., Plot, Contour, Surface, TV, etc.) into modern programs that duplicate the device independence, color model independence, and functionality (including resizeable graphics windows) of the latest “new” graphics system in IDL. Best of all, this functionality is available in any version of IDL. Documentation for the Coyote Graphics System routines is now available on-line. Also, there are number of IDL programming tips that apply specifically to Coyote Graphics routines.

CGS commands work the same on your display, in a PostScript file, and in the Z-graphics buffer. They allow traditional graphics commands to be displayed in resizeable graphics windows that are as easy to work with as the non-resizeable graphics windows IDL programmers have traditionally used. The resizeable graphics window allows your graphics display to automatically (and programmatically, if you choose) create PostScript and PDF file output, and any of five different types of raster file output. If ImageMagick is installed on your computer, raster file output can use PostScript intermediate files to give your raster output, and especially your output fonts, a presentation quality look. Ghostscript is required to produce PDF file output.

CGS graphics visualizations can be saved and recalled later, or e-mailed to colleagues so they can view the same graphics output you see on your display.

CGS routines use colors in a natural way (e.g., Color='red') and work correctly in either an indexed or decomposed color environment.

CGS routines are faster (sometimes orders of magnitude faster!) than the equivalent IDL function graphics commands.

Best of all, CGS routines fix most of the bugs (e.g., contour holes and levels) in the traditional IDL commands and work in the intuitive way you expect them to work.

The programming techniques for creating programs that work in the CGS system are now completely explained in my latest book, Coyote's Guide to Traditional IDL Graphics: Using Familiar Tools Creatively.

Coyote Graphics System Programs

The Coyote Graphics System really makes use of all the programs in the Coyote Library, but here are short descriptions of the programs that belong specifically to the CGS system.

Version of IDL used to prepare this article: IDL 7.0.1.