1 /*------------------------------------------------------------------------*/
2 /* file: set_color_map_property.c */
3 /* Copyright INRIA 2006 */
4 /* Authors : Fabrice Leray, Allan Cornet, Jean-Baptiste Silvy */
5 /* desc : function to modify in Scilab the color_map field of */
7 /*------------------------------------------------------------------------*/
9 #include "setHandleProperty.h"
10 #include "SetProperty.h"
11 #include "getPropertyAssignedValue.h"
13 /*------------------------------------------------------------------------*/
14 int set_color_map_property( sciPointObj * pobj, int stackPointer, int nbRow, int nbCol )
16 return sciSetColormap( pobj, getDoubleMatrixFromStack( stackPointer), nbRow, nbCol ) ;
18 /*------------------------------------------------------------------------*/