Scilab 5.4.0
- Aide Scilab
- Graphiques
- 2d_plot
- 3d_plot
- annotation
- axes_operations
- axis
- bar_histogram
- Gestion des couleurs
- geometric_shapes
- handle
- interaction
- pie
- polygon
- style
- text
- transform
- window_control
- Datatips
- figure_operations
- load_save
- property
- Graphics
- alufunctions
- object_editor
- square
- xbasr
- xchange
- xclear
- xdel
- xgetech
- xgraduate
- xgrid
- xname
- xnumb
- xpause
- xsegs
- xset
- xsetech
- xsetm
- GlobalProperty
- clear_pixmap
- Compound_properties
- graphics_entities
- pixel_drawing_mode
- plzr
- rubberbox
- segs_properties
- show_pixmap
- twinkle
- xget
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
show_pixmap
send the pixmap buffer to the screen This function is obsolete.
Calling Sequence
show_pixmap()
Description
If a graphic window pixmap
property is "on"
the drawings are send to a pixmap memory instead of the screen
display.
The show_pixmap()
instruction send the pixmap to the
screen.
The pixmap mode can be used to obtain smooth animations. This property can be found among the figure entity fields (see figure_properties).
WARNING: Obsolete function.from Scilab 5.4.0 and is going to be removed with Scilab 5.4.1 Please use drawlater/drawnow instead.
Examples
f=gcf(); f.pixmap='on'; //set the pixmap mode a=gca(); a.data_bounds=[0 0; 10 10]; //construct two rectangles xrects([0;10;1;1],5); r1=gce(); r1=r1.children; xrects([0;1;1;1],13); r2=gce(); r2=r2.children; //animation loop for k=1:1000 //draw the rectangles in the pixmap buffer move(r1,[0.01,-0.01]); move(r2,[0.01,0.01]) //show the pixmap buffer show_pixmap() xpause(10000) end
See Also
- figure_properties — description of the graphics figure entity properties
- clear_pixmap — erase the pixmap buffer This function is obsolete.
- drawlater — makes axes children invisible.
- drawnow — draw hidden graphics entities.
History
Version | Description |
5.4.0 | Function show_pixmap is obsolete. |
Report an issue | ||
<< segs_properties | Graphiques | twinkle >> |