Show / Hide Table of Contents

    Method spal1

    | Improve this Doc View Source

    spal1(String, Boolean)

    plspal1: Set the cmap1 palette using the specified cmap1*.pal format file

    Declaration
    public void spal1(string filename, Boolean interpolate)
    Parameters
    Type Name Description
    System.String filename

    An ascii character string containing the name of the cmap1*.pal file. If this string is empty, use the default cmap1*.pal file.

    Boolean interpolate

    If this parameter is true, the columns containing the intensity index, r, g, b, alpha and alt_hue_path in the cmap1*.pal file are used to set the cmap1 palette with a call to plscmap1la. (The cmap1*.pal header contains a flag which controls whether the r, g, b data sent to plscmap1la are interpreted as HLS or RGB.) If this parameter is false, the intensity index and alt_hue_path columns are ignored and the r, g, b (interpreted as RGB), and alpha columns of the cmap1*.pal file are used instead to set the cmap1 palette directly with a call to plscmap1a.

    Remarks

    Set the cmap1 palette using the specified cmap1*.pal format file.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX