Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide Scilab >> Graphiques > axes_operations > sca

sca

set the current axes entity

Calling Sequence

a=sca(a)

Arguments

a

a handle, the handle on the Axes entity

Description

sca(a) is used to set the current Axes entity (see graphics_entities) to the one pointed to by the handle a. The drawing functions generaly use the current axes entity.

Examples

clf()
a1=newaxes(); 
a1.axes_bounds=[0,0,1.0,0.5];
t=0:0.1:20;
plot(t,acosh(t),'r')
a2=newaxes();
a2.axes_bounds=[0,0.5,1.0,0.5];
x=0:0.1:4;
plot(x,sinh(x))

sca(a1); //make first axes current
plot(t,asinh(t),'g')
legend(['acosh','asinh'])
sca(a2); //make second axes current
legend('sinh')

See Also

  • subplot — divise une fenêtre graphique en sous-fenêtres
  • gda — Return handle of default axes.
  • newaxes — Creates a new Axes entity
Report an issue
<< newaxes axes_operations sda >>

Copyright (c) 2022-2023 (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:
Mon Oct 01 17:37:23 CEST 2012