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 > axes_operations > rotate_axes

rotate_axes

Interactive rotation of an Axes handle.

Calling Sequence

rotate_axes()
rotate_axes(h)

Arguments

h

Figure or Axes handle. Specify on which Axes the rotation will apply.

Description

rotate_axes funtion is used to perform an interactive rotation of an Axes object. When the function is called, the user is requested to click twice on the graphic window. The first click initializes the rotation and the second ends it.

If an Axes handle is specified as input argument, the rotation will apply on it. If a figure handle is specified, the first click determines the Axes objet to rotate. If the function is called with no argument, the rotation apply on the current figure.

Examples

clf();
// create two axes in the figure
subplot(2, 1, 1);
plot2d;
subplot(2, 1, 2);
plot3d;

// rotate only the second axes
axes2 = gca();
rotate_axes(axes2);

// rotate the selected one
rotate_axes();
// or
rotate_axes(gcf());

See Also

  • zoom_rect — zoom a selection of the current graphic figure
  • axes_properties — description of the axes entity properties

Authors

Jean-Baptiste Silvy INRIA

<< replot axes_operations sca >>

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