Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Graphics > 2d_plot > Matplot_properties

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).

parent:

This property contains the handle of the parent. The parent of the Matplot entity should be of the type "Axes".

children:

This property contains a vector with the children of the handle. However, Matplot handles currently do not have any children.

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 [mxn] 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)).

clip_state:

This field contains the clip_state property value for the Matplot. It should be :

  • "off" this means that the Matplot is not clipped.

  • "clipgrf" this means that the Matplot is clipped outside the Axes box.

  • "on" this means that the Matplot is clipped outside the rectangle given by property clip_box.

clip_box:

This field is to determinate the clip_box property. By Default its value should be an empty matrix if clip_state is "off". Other cases the vector [x,y,w,h] (upper-left point width height) defines the portions of the Matplot to display, however clip_state property value will be changed.

user_data:

This field can be use to store any scilab variable in the Matplot data structure, and to retreive it.

Examples

Matplot((1:xget("lastpattern")))
e=gce(); // get current entity

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

See Also

  • set — set a property value of a graphic entity object or of a User Interface object.
  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • delete — delete a graphic entity and its children.
  • grayplot — 2D plot of a surface using colors
  • Matplot — 2D plot of a matrix using colors
  • Matplot1 — 2D plot of a matrix using colors
  • graphics_entities — description of the graphics entities data structures
  • grayplot_properties — description of the grayplot entities properties

Authors

F.Leray

<< Matplot1 2d_plot Sfgrayplot >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:09:59 CEST 2011