GroupPlot::GetColormap

 

Contents

Description

Get the colormap properties of the group plot(like Waterfall Color Mapping plot).

Syntax

BOOL GetColormap( TreeNode & trColormap )

Parameters

trColormap
[Output] A TreeNode object with the Tree structure of GetColormap

Return

Return TRUE if success, or FALSE if failed.

Examples

EX1

//assume there is a Waterfall Color Mapping plot
void GroupPlot_GetColormap_Ex1()
{
    GraphLayer gl = Project.ActiveLayer();
 
    GroupPlot gPlot;
    gPlot= gl.Groups(0); //get first groupplot object
    TreeNode trColormap;
    BOOL bSuccess = gPlot.GetColormap(trColormap);
    out_tree(trColormap);
}

Remark

See Also

GroupPlot::SetColormap

header to Included

origin.h