Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - 日本語


sda

デフォルトの軸(Axes)を工場出荷時のデフォルト値にリセット

呼び出し手順

sda()

説明

このルーチンは、Axesモデルプロパティを工場出荷時のデフォルト値にリセットします.

sda()は、set(gda(),"default_values",1)と同等です.

x=[0:0.1:2*%pi]';
f=get("default_figure"); // 規範となる図のハンドルを取得
a=get("default_axes");   // 規範となる軸のハンドルを取得
                         // そのプロパティを設定
f.figure_size=[1200 900];
f.figure_position=[0 0];
a.background=4;
a.box="off";
a.foreground=5;
a.labels_font_color=25;
a.labels_font_size=4;
a.sub_tics=[7 3];
a.x_location="middle";
a.y_location="middle";
a.tight_limits="on";
a.thickness=2;
a.grid=[-1 24];

subplot(221);
plot2d(x-2,sin(x))
subplot(222);
plot2d(x-6,[2*cos(x)+.7 2*cos(x)+.9 cos(2*x) .2+sin(3*x)],[-1,-2,-3 -4])
sda() // return to the  default values of the axes' model
subplot(223);
plot2d(x-2,sin(x))
subplot(224);
plot2d(x-6,[2*cos(x)+.7 2*cos(x)+.9 cos(2*x) .2+sin(3*x)],[-1,-2,-3 -4])
close(0)
plot2d(x-2,sin(x))

参照

  • sdf — デフォルトの図(figure)を設定.
  • gda — デフォルトの軸(axes)のハンドルを取得.
  • gdf — デフォルトの図(figure)のハンドルを取得.
  • set — グラフィックエンティティオブジェクトまたは またはユーザインターフェイスオブジェクトのプロパティの値を設定する.
  • graphics_entities — グラフィックスエンティティデータ構造体の説明
Report an issue
<< sca axes_operations subplot >>

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 May 22 12:43:11 CEST 2023