Coyote Graphics Routines

Date: Fri Mar 27 12:14:20 2015

Directory: .\

.pro files

capfirstletter.pro

NAME: CAPFIRSTLETTER PURPOSE: Given a string, separates the parts by white space, commas, semi-colons, or colons.

cgaddtopath.pro

Adds a directory to the beginning of the !PATH system variable.

cgappendtofilename.pro

The purpose of this routine is to allow the user append text to the end of the root name of an absolute file name.

cgarrow.pro

Provides a device-independent and color-model-independent way of drawing an arrow in a specified color.

cgasinhscl.pro

This is a utility routine to perform an inverse hyperbolic sine function intensity transformation on an image.

cgaspect.pro

The purpose of this function is to calculate a position in a graphics window with a specified aspect ratio (ysize/xsize).

cgaxis.pro

Provides a device-independent and color-model-independent way to draw an axis into a graphics window.

cgbarplot.pro

Provides a device-independent and color-model-independent way to create a bar plot or to overplot on an existing bar plot.

cgbitget.pro

The program is used to obtain the value of a particular bit in an integer number.

cgblendimage.pro

This alpha blends two 24-bit images and displays them with the cgImage command.

cgboxplot.pro

This is graphics routine to display a box plot, also known as a box and whisker plot, in IDL direct graphics.

cgcbar2kml.pro

This program creates a KML file that can be opened in Google Earth to display a color bar as a ScreenOverlay.

cgcentertlb.pro

This is a utility routine to position a widget program on the display at an arbitrary location.

cgchangemapprojection.pro

This function warps a map projected image from one map projection to another, using Map_Proj_Image to do the warping.

cgcheckforsymbols.pro

The purpose of this funciton is to check a string for symbols, encased in escape characters, that should be revolved with cgSymbol.

cgcleanup.pro

This procedure cleans-up and/or destroys any open graphics or widget windows on the display.

cgclipscl.pro

This is a utility routine to perform linear scaling (similar to BYTSCL) on image arrays.

cgcliptomap.pro

Allows an image or geoTiff file to be clipped or subset to a map projected boundary.

cgcmdwindow__define.pro

Creates a "command" window for IDL traditional commands (Plot, Contour, Surface, etc.

cgcolor.pro

The purpose of this function is to obtain drawing colors by name and in a device/decomposition independent way.

cgcolor24.pro

The purpose of this function is to convert a RGB color triple into the equivalent 24-bit long integer.

cgcolorbar.pro

The purpose of this routine is to add a color bar to the current graphics window.

cgcolorfill.pro

Provides a device-independent and color-model-independent way to fill a polygon with a particular color.

cgcompressscl.pro

This is a utility routine to perform a compression transformation on an image.

cgconlevels.pro

This program is designed to create "nicely formatted" contour levels for use in contour plots.

cgcontainer__define.pro

A modified IDL container with properties needed for Coyote Graphics routines.

cgcontour.pro

The purpose of cgContour is to create a wrapper for the traditional IDL graphics command, Contour.

cgcontrol.pro

Allows the user to set various properties of an cgWindow object.

cgcoord__define.pro

An object for maintaining a coordinate system for data annotation or display.

cgcoyotegraphic.pro

This simply identifies a routine as a Coyote Graphics routine.

cgdbltostr.pro

This is a program for converting a double precision numerical value to a string that maintains the 14 double-precision significant digits.

cgdcbar.pro

The purpose of this routine is to add a discrete color bar to a graphics plot.

cgdefaultcolor.pro

The purpose of this function is to choose a default color for Coyote Graphics routines.

cgdefcharsize.pro

Defines a default character size for Coyote Graphics routines (cgPlot, cgContour, etc.) IF !P.Charsize is set, the function simply returns !P.Charsize.

cgdelete.pro

Allows the user to delete one or more cgWindow applications.

cgdemodata.pro

The purpose of this function is to read a selection of standard data sets that are found in the normal IDL distribution in the subdirectory $IDL_DIR/examples/data.

cgdisplay.pro

The purpose of cgDisplay is to open a graphics window on the display, or in the PostScript device, or in the Z-graphics buffer, depending upon the current graphics device.

cgdotplot.pro

The purpose of cgDotPlot is to create a "dot plot" of the sort described on this web page.

cgdraw_roi.pro

This procedure draws a region or group of regions, defined by the IDLanROI or IDLanROIGroup objects, on a direct graphics device.

cgdrawshapes.pro

This program draws the entities in a shapefile, containing latitude and longitude polygons or polylines, on a map projection.

cgdrawvectors.pro

Plots the velocity vectors of particles at their position.

cgerase.pro

Provides a device-independent and color-model-independent way to erase a graphics window with a particular color.

cgerrormsg.pro

The purpose of this function is to have a device-independent error messaging function.

cgfileselect__define.pro

The class definition module for the cgFileSelect object.

cgfindcoyotefiles.pro

This procedure looks for Coyote Library routines in every directory in the IDL path and reports the directories that it strongly suspects contain Coyote Library files.

cgfindmapboundary.pro

Utility routine to find the map projection grid boundary from a file, if it is possible to do so.

cgfindpathto.pro

The purpose of this function is to search for a file, primarily in "resources" directories.

cgfixps.pro

This program modifies an IDL-produced PostScript landscape mode file so that the output is right side up rather than upside down.

cggaussscl.pro

This is a utility routine to perform a gaussian gray-level pixel transformation stretch on an image.

cggeomap.pro

The purpose of this function is to translate a GEOTIFF structure (as returned by QUERY_TIFF or READ_TIFF) into a map coordinate object (cgMap) that can be used to georeference images with a map data coordinate system.

cggeomosaic.pro

Creates a mosaic or combination image, given the names of two GeoTiff image files.

cggetcolorstate.pro

Provides a device-independent way to get the color decomposition state of the current graphics device.

cggmascl.pro

This is a utility routine to perform basic gray-level pixel transformations of images.

cggoogle_metersperpixel.pro

This funtion returns the number of meters per pixel for a particular zoom level in images returned using Google's Static Image API.

cggooglemapmarker__define.pro

This program is the definition module for a Google Map Marker structure, which is used in the GoogleMapWidget object to add markers to Google Static Map images.

cggooglemapwidget.pro

This is the driver for the cgGoogleMapWidget object, which is a compound widget object that obtains a Google static map from Google Maps and displays it in the program's draw widget window.

cggooglemapwidget__define.pro

This is a compound widget object that obtains a Google static map from Google Maps and displays it in the program's draw widget window.

cggraphicskeywords__define.pro

Provides an object interface to handle IDL direct graphics plotting keywords.

cggreek.pro

NAME: cgGREEK PURPOSE: This function provides a device-independent way to ask for a Greek letter as a string that can be included, for example, in a plot title.

cghasimagemagick.pro

Searches for the ImageMagick "convert" command to see if ImageMagick is available on the system.

cghistogram.pro

This program is used as a wrapper to the Histogram command in IDL.

cghistoplot.pro

This program is used to draw a histogram plot in an IDL direct graphics window..

cgimage.pro

The purpose of this program is to create a TV command that works the way the TV command would be expected to work if it was written today, rather than 25 years ago.

cgimage2kml.pro

This program creates a KML file that can be opened in Google Earth to display the image drapped over the Google Earth terrain.

cgimagegroup__define.pro

The class definition module for the cgImageGroup object.

cgimageinfo.pro

The purpose of this program is allow interactive inquiry of image position and values for images displayed with cgImage.

cgimageinfodescribevalues.pro

Provide information about the selected xy-pixel from an image, or a hash of images.

cgimgscl.pro

This function scales an image using the same keywords and scaling available in cgImage and cgStretch.

cgjulian2date.pro

The purpose of this function is to convert a Julian number into a date string.

cgkml2kmz.pro

This program simply collects files created from the cgImage2KML program and moves the files to a zip file with a *.kmz file extention.

cgkml_feature__define.pro

This program implements the KML abstract FEATURE class.

cgkml_file__define.pro

This program creates a KML file that can be displayed with Google Earth.

cgkml_groundoverlay__define.pro

This program implements the KML GroundOverlay element.

cgkml_lookat__define.pro

This program implements the KML abstract LookAt class.

cgkml_object__define.pro

This program implements the KML abstract OBJECT class.

cgkml_overlay__define.pro

This program implements the KML abstract OVERLAY class.

cgkml_screenoverlay__define.pro

This program implements the KML ScreenOverlay element.

cgkrig2d.pro

The cgKrig2D function interpolates a regularly or irregularly sampled set of points of the form z = f(x, y) to produced a gridded 2D array using a statistical process known as kriging.

cglayout.pro

The purpose of this program is to return the normalized position coordinates for a line plot, contour plot, or image plot with a specific "layout" in the current graphics window.

cglegend.pro

The purpose of this program is to a create simple legend that can be drawn in a graphics window.

cglegenditem__define.pro

The purpose of this program is to create a simple legend object that can be drawn on a data plot.

cglineintersect.pro

This function returns the intersection of two line segments, represented by four points.

cgloadct.pro

This is a drop-in replacement for the IDL-supplied program LOADCT.

cgloggen.pro

This function creates an evenly spaced vector of points in log space.

cglogscl.pro

This is a utility routine to perform a logarithmic transformation on an image.

cgmap__define.pro

Provides an easy way to set up a map projection coordinate space using GCTP map projections normally accessed via Map_Proj_Init.

cgmap_continents.pro

Provides a simple wrapper to the MAP_CONTINENTS command in IDL that can be used to draw map continental outlines in a device and color independent way with Coyote Graphics programs.

cgmap_grid.pro

This program provides a significantly modified MAP_GRID command that can be used with other Coyote Graphics routines.

cgmap_gshhs.pro

The program uses files from the Globally Self-consistent Hierarchical High-resolution Shoreline (GSHHS) data base to draw shorelines in the manner of MAP_CONTINENTS.

cgmap_set.pro

Provides a modified MAP_SET command that can work together with other Coyote Graphics commands and be used in resizeable graphics windows.

cgmapcontinents__define.pro

Provides an object wrapper to the cgMAP_CONTINENTS or the cgMap_GSHHS commands.

cgmapgrid__define.pro

This object is a wrapper for the cgMap_Grid routine in IDL.

cgmapplots__define.pro

This object is a wrapper for the cgPlotS routine in IDL.

cgmapvector__define.pro

This is the class definition module.

cgminmax.pro

Prints the minimum and maximum of an IDL variable.

cgmonths.pro

This is a utility program for obtaining the months of the year in various string formats.

cgncdfmap.pro

The purpose of this function is to translate map projection information found in a netCDF file into a map coordinate object (cgMap) that can be used to georeference images with a map data coordinate system.

cgnormalize.pro

This is a utility routine to calculate the scaling vector required to position a graphics primitive of specified range at a specific position in an arbitray coordinate system.

cgnumber_formatter.pro

This is a utility routine format a number into a string.

cgobj_isa.pro

The purpose of this utility routine is to check to be sure the object argument is valid and belongs to the specified object class.

cgoplot.pro

The purpose of cgOPlot is to create a drop-in replacement for the traditional IDL command, OPlot.

cgotsu_threshold.pro

The purpose of this function is to find an optimal threshold for separating a bimodal distribution of pixels in an image histogram.

cgoverplot__define.pro

The purpose of this program is to create a data object that can be plotted or drawn on a set of axes set up by another plotting command.

cgpercentiles.pro

This program calculates user-specified percentiles of a data set.

cgpickcolorname.pro

Provides an interactive method of selecting a draw color name.

cgpickfile.pro

This is a utility program for selecting data files.

cgpixmap.pro

Creates an invisible graphics window for IDL traditional commands (Plot, Contour, Surface, etc.

cgpixmapwindow__define.pro

This is the "object" behind cgPixmap.

cgplot.pro

The purpose of cgPlot is to create a wrapper for the traditional IDL graphics command, Plot.

cgplots.pro

The purpose of cgPlotS is to create a wrapper for the traditional IDL graphics command, PlotS.

cgpolygon.pro

Provides a device-independent and color-model-independent way to draw a filled or unfilled polygon.

cgprogressbar__define.pro

This program is used to draw a progress bar on the display.

cgps2pdf.pro

Converts a PostScript file to a PDF file.

cgps2raster.pro

The purpose of this program is to convert a PostScript file to a high resolution raster file, using the ImageMagick convert command to do the conversion.

cgps_close.pro

The purpose of cgPS_Open and cgPS_Close is to make it easy to set-up and close a PostScript file.

cgps_config.pro

The purpose of this program is to allow the user to configure the PostScript device with or without a graphical user interface.

cgps_open.pro

The purpose of cgPS_Open and cgPS_Close is to make it easy to set-up and close a PostScript file.

cgps_setup__define.pro

The purpose of cgPS_SETUP__DEFINE is to define a structure that is used by cgPS_Open and cgPS_Close to communicate PostScript set-up information back and forth.

cgpsdims.pro

The purpose of this function is to return the dimensions of the bounding box of a PostScript file.

cgpswindow.pro

This function is used to calculate the size of a PostScript window that has the same aspect ratio (ratio of height to width) as the current display graphics window.

cgquery.pro

Provides information about any cgWindow applications currently on the display.

cgrandomindices.pro

This function returns random indices without replacement.

cgrandomwald.pro

This function creates a vector of N random numbers using an Inverse Gaussian Distribution, which is also known as the Wald Distribution.

cgresizeimage.pro

Provides a CONGRID like resizing of images, although it performs this service correctly for both 2D and 3D images.

cgresizeraster.pro

The purpose of this program is to resize a raster file according to instructions from the user.

cgreverseindices.pro

Provides a simple way to obtain the data indices from a Histogram REVERSE_INDICES vector.

cgrootname.pro

The purpose of this routine is to extract from a long file path, the base or root file name.

cgscalevector.pro

This is a utility routine to scale the elements of a vector or an array into a given data range.

cgscatter2d.pro

The purpose of cgScatter2d is to create a two-dimensional scatter plot with the option of drawing a correlation coefficient on the plot.

cgsdevscl.pro

This is a utility routine to perform standard deviation scaling on image arrays.

cgset.pro

Allows the user to select the cgWindow application to be the "current" application.

cgset_ttfont.pro

The purpose of this procedure is to allow the user to set the True-Type font in use both at the IDL command line and in a PostScript file.

cgsetcolorstate.pro

Provides a device-independent way to set the color decomposition state of the current graphics device.

cgsetdifference.pro

This function is used to find the difference between two sets of integers.

cgsetintersection.pro

This function is used to find the intersection between two sets of integers.

cgsetunion.pro

This function is used to find the union between two sets of integers.

cgshade_surf.pro

The purpose of cgShade_Surf is simply to make it easier for people to remember how to create a shaded surface with cgSurf.

cgshapeinfo.pro

The purpose of this program is allow the user to browse a very narrow selection of shapefiles.

cgshapepointfile.pro

The purpose of this program is to create a shapefile filled with multiple individual points as entities.

cgshaperange.pro

Determines the X (longitude) and Y (latitude) data range of the entities in a shapefile.

cgshow.pro

Allows the user to select the cgWindow application to be the brought forward on the display.

cgsnake.pro

This program applies the Gradient Vector Flow active contour algorithm, as described by Chenyang Xu and Jerry L.

cgsnapshot.pro

To get accurate screen dumps with the IDL command TVRD on 24-bit PC and Macintosh computers, you have to be sure to set color decomposition on.

cgsourcedir.pro

The purpose of this function is to provide a portable way of finding the source directory of a program distribution.

cgstretch.pro

The program implements an interactive way to stretch an image histogram and provide contrast for 2D image arrays.

cgsurf.pro

The purpose of cgSurf is to create a wrapper for the traditional IDL graphics commands, Surface and Shade_Surf.

cgsurface.pro

The purpose of cgSurface is to create a window where a surface is displayed.

cgsymbol.pro

This function provides a device-independent way to ask for commonly-used symbols (e.g., less than or equal to, Angstrom, degree symbol, etc.), including all 24 Greek symbols in upper and lower case, to display with text.

cgsymcat.pro

This function provides a symbol catalog for specifying a number of plotting symbols.

cgtasseledcap.pro

This function returns an image transformed by tasseled cap coefficients.

cgtasseledcapcoeffs.pro

This function returns tasseled cap coefficients from various sources to perform the tasseled cap transformation on appropriate (e.g.

cgtaylordiagram.pro

The program implements a Taylor Diagram in IDL direct graphics.

cgtext.pro

Provides a device-independent and color-model-independent way to write text into a graphics window.

cgtimestamp.pro

This is a utility program to obtain a time stamp string suitable for using in a filename or some other string.

cgtransparentimage.pro

Creates a semi-transparent image for display.

cgutmzone.pro

This function returns the correct UTM zone for UTM map projections, given a longitude and latitude value.

cgwarptomap.pro

The purpose of this function is to warp an image into a map projection, given latitude and longitude values for each data point.

cgwhoami.pro

This is a function that will identify the name of the procedure or function which calls this function.

cgwhocalledme.pro

This is a function that will identify the caller of the program module that contains this funciton.

cgwindow.pro

Creates a resizeable graphics window for IDL traditional commands (Plot, Contour, Surface, etc.

cgwindow_getdefs.pro

Allows the user to get the global defaults for resizeable cgWindow programs.

cgwindow_setdefs.pro

Allows the user to set global defaults for resizeable cgWindow programs.

cgwindrose.pro

This program draws a wind rose diagram.

cgzimage.pro

Allows the user to interactively zoom into an image.

cgzplot.pro

This program creates a "zoomable" line plot in an interactive window.

cgzplot__define.pro

This program creates a "zoomable" line plot in an interactive, resizable window.

setdefaultvalue.pro

This procedure sets default values for positional and keyword arguments to IDL procedures and functions.

xcolors.pro

The purpose of this program is to interactively change color tables in a manner similar to XLoadCT.

Contents