Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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

Manuel Scilab >> Bibliothèque graphique > axes_operations > gca

gca

Return handle of current axes.

Calling Sequence

a = gca()

Arguments

a

handle, the handle of the current axes entity.

Description

This routine returns the handle of the current axes for the current figure.

Examples

subplot(211)
a=gca() //get the current axes
a.box="off";
t=-%pi:0.3:%pi;plot3d(t,t,sin(t)'*cos(t),80,50,'X@Y@Z',[5,2,4]);
subplot(212)
plot2d(); //simple plot
a=gca() //get the current axes
a.box="off";
a.x_location="middle";
a.parent.background=4;
delete(gca()) // delete the current axes    
xdel(0) //delete a graphics window

Authors

Djalel ABDEMOUCHE

<< axes_properties axes_operations gda >>

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:
Wed Jan 26 16:24:15 CET 2011