Gnuplot
2Dプロットスタイル
サーチ…
プロットスタイルの選択
Expliciteの選択
プロットスタイルは、通常、 withキーワードを使用しwith選択されます。
plot x with points
これにより、すべてのplotに対して異なるプロットスタイルを使用できplot 。
plot x with points, 2*x with lines
gnuplotコマンドウィンドウにhelp with入力help with 、使用可能なすべての描画スタイルのリストが表示されます。
グローバルプロットスタイルの選択
プロットスタイルは、すべてのプロットコマンドに対してグローバルに設定することもできます。ここで、gnuplotは、異なるデフォルトスタイルを設定できる関数とデータのプロットを区別します。
関数の場合、 set style function関数を使用しset style function 。
set style function linespoints
plot x, 2*x
データファイルの場合set style data 。
set style data lines
plot 'file.dat', 'other-file.dat'
関数のデフォルトスタイルはlinesで、データファイルの場合はpointsであることに注意してください。 show style dataとshow style functionは、現在選択されているプロットスタイルを検査できます。
Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow