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

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 > 2d_plot > grayplot

grayplot

曲面の2次元カラープロット

呼び出し手順

grayplot(x,y,z,[strf,rect,nax])
grayplot(x,y,z,<opt_args>)

パラメータ

x,y

大きさ n1 および n2の実数行ベクトル.

z

大きさ (n1,n2)の実数行列. z(i,j) は 点 (x(i),y(j))における曲面の値です.

<opt_args>

一連の命令 key1=value1, key2=value2,... を表します.ただし,key1, key2,... には以下のどれかを指定します: rect, nax, strf または axesflag および frameflag (plot2d および plot2d_old_version参照).

strf,rect,nax

plot2d参照.

説明

grayplot は, x および yで定義されるグリッド上で zにより指定された曲面の2次元プロットを作成します. グリッド上の各矩形は,矩形の4隅のzの値の平均値 に基づきモノクロまたはカラーで塗りつぶされます. z に %nan 値が含まれる場合,周囲の矩形は表示されません.

コマンド grayplot() を入力するとデモが表示されます.

x=-10:10; y=-10:10;m =rand(21,21);
grayplot(x,y,m,rect=[-20,-20,20,20])
t=-%pi:0.1:%pi; m=sin(t)'*cos(t);
clf()
grayplot(t,t,m)

参照

  • fgrayplot — 関数により定義される曲面のカラー二次元プロット
  • plot2d — 2Dプロット
  • Sgrayplot — 色付きの曲面の2次元平滑化プロット
  • Sfgrayplot — 関数により定義された曲面の平滑化2次元カラープロット

作者

J.Ph.C.

<< fplot2d 2d_plot grayplot_properties >>

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:
Thu May 12 11:45:56 CEST 2011