Scilab 6.0.1
- Scilabヘルプ
- Graphics
- 2d_plot
- champ
- champ1
- champ_properties
- comet
- contour2d
- contour2di
- contour2dm
- contourf
- errbar
- fchamp
- fec
- fec_properties
- fgrayplot
- fplot2d
- grayplot
- grayplot_properties
- graypolarplot
- histplot
- LineSpec
- Matplot
- Matplot1
- Matplot_properties
- paramfplot2d
- plot
- plot2d
- plot2d2
- plot2d3
- plot2d4
- polarplot
- scatter
- Sfgrayplot
- Sgrayplot
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
plot2d2
2次元プロット (階段状関数)
呼び出し手順
plot2d2([x],y) plot2d2([x],y,<opt_args>) plot2d2([logflag],x,y,[style,strf,leg,rect,nax])
引数
- args
パラメータの説明については
plot2d
参照.
説明
plot2d2
は plot2d
と同じですが,
(x,y)
により指定される関数が区分定数であると仮定されます.
デフォルトで, 連続するプロットは重ね描きされます.前のプロットを消去するには
clf()
を使用してください.
コマンド plot2d2()
を入力するとデモを参照できます.
![]() | plot2dxx (xx = 1 から 4)により提供されるモードは全て
plot2d を用いて,
polyline_style オプションを対応する数字に設定することにより,
有効にすることができます. |
例
// 区間[i,i+1]において値がiとなる階段状関数をプロット // 最後の区間は描画されません plot2d2([1:4],[1:4],1,"111","step function",[0,0,5,5]


x=[0:0.1:2*%pi]'; clf(); plot2d(x,[sin(x) sin(2*x) sin(3*x)]) e=gce(); e.children(1).polyline_style=2; e.children(2).polyline_style=2; e.children(3).polyline_style=2;

参照
Report an issue | ||
<< plot2d | 2d_plot | plot2d3 >> |