Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - 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 Library > axes_operations > newaxes

newaxes

Creates a new Axes entity

Calling Sequence

a=newaxes()

Arguments

a

a handle, the handle on the newly created Axes entity

Description

newaxes() is used to create a new Axes entity (see graphics_entities) in the current figure. The properties of this entity are inherited from the default_axes entity (see gda)

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))
legend('sinh')

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

See Also

  • subplot — divide a graphics window into a matrix of sub-windows
  • gda — Return handle of default axes.
  • sca — set the current axes entity

Authors

S. Steer, INRIA

<< isoview axes_operations plotframe >>

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:
Thu Mar 03 10:59:45 CET 2011