Set the colormap properties of the group plot(like Waterfall Color Mapping plot).
BOOL SetColormap( TreeNode & trColormap )
Return TRUE if success, or FALSE if failed.
EX1
//assume there is a Waterfall Color Mapping plot void GroupPlot_SetColormap_Ex1() { GraphLayer gl = Project.ActiveLayer(); GroupPlot gPlot; gPlot= gl.Groups(0); //get first groupplot object TreeNode trColormap; BOOL bSuccess = gPlot.GetColormap(trColormap); trColormap.Min.nVal = 3; trColormap.Max.nVal = 6; bSuccess = gPlot.SetColormap(trColormap); }
GroupPlot::GetColormap
origin.h