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

Change language to:
English - Français - 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

Scilab help >> Graphics > axes_operations > graduate

graduate

見栄えの良い軸のグラデーション

呼び出し手順

[xi,xa,np]=graduate( xmi, xma,n1,n2)
[xi,xa,np]=graduate( xmi, xma)

パラメータ

xmi,xma

実数スカラー

n1, n2

デフォルト値 3,10の整数

xi, xa

実数スカラー

np

整数

説明

graduateは,以下の条件を満たすような 間隔の最小値[xi,xa]と目盛の数np を探します:

xi <= xmi <= xma <= xa

xa - xi / np = k(10^n) ある整数 nに関してk[1 3 5]する時, xa - xi / np = k(10^n)

n1 < np < n2

y=(0:0.33:145.78)';
clf();plot2d1('enn',0,y)
[ymn,ymx,np]=graduate(min(y),max(y))
rect=[1,ymn,prod(size(y)),ymx];
clf();plot2d1('enn',0,y,1,'011',' ',rect,[10,3,10,np])

参照

  • xsetech — プロット時にグラフィックウインドのサブウインドウを設定
  • plot2d — 2Dプロット

作者

S. Steer 1992;

<< gda axes_operations isoview >>

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 Oct 05 12:12:56 CEST 2011