2.2.4.23.1 GroupPlot::GetColormap


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