xset
グラフィックコンテキストの値を設定.
この関数は廃止されました.呼び出し手順xset(choice-name,x1,x2,x3,x4,x5)
xset()
引数choice-namestringx1,...,x5choice-nameに依存
説明
この関数は廃止されました.
替わりにScilabグラフィックオブジェクトの記法を使用してください
(set および get
関数およびgraphics_entities
のヘルプページを参照ください).
xset は現在のウインドウグラフィックコンテキストの
デフォルト値を設定する際に使用されます.
引数を指定せずにコールした場合,
現在の値を表示する選択メニューが作成され,
トグルボタンにより変更が可能です.
現在の色,マーカ,使用するフォントを表示または設定する際には
xset() を使用してください.
xset("auto clear","on"|"off")
グラフィックの自動消去モードの "on" または "off"を切替ます.
自動消去モードが"on"の場合,
連続的なプロットは重ねて表示されません.
つまり,各高レベルグラフィック関数の前に
clf()処理
(グラフィックウインドウが消去され,
関連する記録されたグラフィックが消去される)
が実行されます.
デフォルト値は "off" です.
xset("background",color)
現在の軸オブジェクトの背景色を設定します.
color引数は使用する色の
カラーマップ添字です.
xset("clipping",x,y,w,h)
クリッピング領域を設定(プロットが描画される
グラフィックウインドウの領域)を
矩形(x,y,w,h) (左上の点 幅 高さ)に設定します.
この関数は現在のプロットの座標系を使用します.
xset("color",value)
塗るつぶし用, 線またはテキスト描画関数用のデフォルト色を
設定します.
value は,範囲 [0,whiteid]に
投影された整数です.
黒塗りつぶしの場合は0,白の場合はwhiteidが使用されます.
whiteidの値は
xget("white")で取得できます.
xset("colormap",cmap)
Set the colormap as a m x 3 matrix. m is the number of colors.
Color number i is given as a 3-uple cmap(i,1), cmap(i,2), cmap(i,3)
corresponding respectively to red, green and blue intensity between 0
and 1.
xset("dashes",i)
In black and white mode (xset("use color",0)), set
the dash style to style i (0 for solid line). In color mode
(xset("use color",1 )) this is used to set line, mark and
text color. This keyword is obsolete, please use
xset('color',i) or xset('line style',i)
instead.
xset("default")Reset the graphics context to default values.xset("font",fontid,fontsize) : Set the current font and its current
size. Note that fontsize applies to all fonts not
only fontid .
xset("font size",fontsize)Set the fonts size.xset("foreground",color)Set the foreground color of the current Axes object.
The color argument is the colormap index of the color to use.
xset("fpf",string)Set the floating point format for number display in contour
functions. string is a string giving the format in C
format syntax (for example string="%.3f"). Use
string="" to switch back to default format.
xset("hidden3d",colorid) : Set the color number for backward facing faces inplot3d. colorid=0 zero suppress the
drawing of backward facing faces of 3d objects. This is technically
called 'culling' and speeds up the rendering of closed surfaces.
xset("line mode",type)This function is used to set the line drawing mode. Absolute
mode is set with type=1 and relative mode with type=0. (Warning: the
mode type=0 has bugs)
xset("line style",value)Set the current line style (1: solid, >1 for dashed
lines).
xset("mark",markid,marksize)Set the current mark and the current mark size. Use
xset() to see the marks. Note that marksize
applies to all marks not only markid .
xset("mark size",marksize)Set the marks size.xset("pattern",value)Set the current pattern for filling functions. value is an
integer projected in the interval [0,whiteid]. 0 is used for black
filling and whiteid for white. The value of whiteid can be obtained
with xget("white"). "pattern" is equivalent to
"color".
xset("thickness",value)Set the thickness of lines in pixel (0 and 1 have the same
meaning: 1 pixel thick).
xset("use color",flag)
If flag=1 then xset("pattern",.) or
xset("dashes",.) will be used so as to change the default
color for drawing or for filling patterns. If flag=0 then we switch
back to the gray and dashes mode.
xset("viewport",x,y)Set the position of the panner.xset("wdim",width,height)Set the width and the height of the current graphics window.
This option is not used by the postscript driver.
xset("wpdim",width,height)Sets the width and the height of the current physical graphic
window (which can be different from the actual size in mode wresize
1). This option is not used by the postscript driver.
xset("window",window-number)
Set the current window to the window window-number
and creates the window if it does not exist.
xset("wpos",x,y)Set the position of the upper left point of the graphics
window.
xset("wresize",flag)If flag=1 then the graphic is automatically resized to fill the
graphics window.
If flag=0 the scale of the graphic is left unchanged when the
graphics window is resized. Top left panner or keyboard arrows may be
used to scroll over the graphic.
参照
xget
getcolor
ged
set
graphics_entities
履歴5.4.0
The "alufunction" プロパティはもはやサポートされておらず,
このプロパティは Scilab 5.0.1の描画では使用されいません.