
NCL Home >
Documentation >
HLUs >
API
NhlFreeColor
The Fortran name of this function is NhlFFreeColor.This function removes a color, specified by its HLU index, from the Workstation color map.
C Synopsis
#include <ncarg/hlu/hlu.h> #include <hfile for Workstation class object> NhlErrorTypes NhlFreeColor( int workid, int ci )
Fortran Synopsis
subroutine NhlFFreeColor(workid, ci, ierr) integer workid, ci, ierr
Arguments
- workid (input)
- Integer identifier of an instance of a Workstation class object
- ci (input)
- Integer color index in the range 1 through 255 of a currently allocated color.
- ierr (output, Fortran only)
- Error code.
Types
Type name: NhlTErrorTypes Definition: typedef enum _NhlErrType{ NhlFATAL = -4, /* "FATAL" */ NhlWARNING = -3, /* "WARNING" */ NhlINFO = -2, /* "INFO" */ NhlNOERROR = -1 /* "NOERROR" */ } NhlErrorTypes;