Scilab Data type
Last update : 2005

Matplot_properties - description of the Matplot entities properties

Description

The Matplot entity is a leaf of the graphics entities hierarchy. It represents 2D plots of surface using colors and images (see Matplot and Matplot1 ).

visible: This field contains the visible property value for the entity . It should be "on" or "off" . By default, the plot is visible, the value's property is "on" . If "off" the plot is not drawn on the screen.
data: This field defines a [ m x n ] color data matrix using the current colormap. The color associated to color(i,j) is used do draw a small square of length 1 with center at location (x=j,y=(m-i+1)) .
parent: This property contains the handle of the parent. The parent of the Matplot entity should be of the type "Axes" .

Examples


   set("figure_style","new") //create a figure

   Matplot([1 2 3;4 5 6])
   // draw the current colormap 
   Matplot((1:xget("lastpattern")))
   e=gce(); // get current entity

   e.data=e.data($:-1:1) // reverse order

 
  

See Also

set ,   get ,   delete ,   grayplot ,   Matplot ,   Matplot1 ,   graphics_entities ,   grayplot_properties ,  

Author

F.Leray