This function writes a palette with the specified palette data and identifier. The palette data itself is stored in the pal_data variable. The data types supported by HDF are listed in IDL and HDF Data Types.
Result = HDF_GR_WRITELUT( pal_id, pal_data )
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Palette identifier returned by HDF_GR_GETLUTID.
Palette data to be written.
None.
Introduced: 5.2