-1
我有4點我想繪製使用gnuplot,但與線。問題是,我無法找到如何在繪製的線上強調這4點。我希望情節是通過點的一條線,但這些點也清楚標記。由excel生成的example。我所知道的只是繪製點,或者只繪製沒有高亮點的線條。 gnuplot中可能有組合嗎?gnuplot突出顯示點與行時
我有4點我想繪製使用gnuplot,但與線。問題是,我無法找到如何在繪製的線上強調這4點。我希望情節是通過點的一條線,但這些點也清楚標記。由excel生成的example。我所知道的只是繪製點,或者只繪製沒有高亮點的線條。 gnuplot中可能有組合嗎?gnuplot突出顯示點與行時
從gnuplot的docs,定義樣式爲:
set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 5 ps 1.5 # blue
set style line 2 lc rgb '#dd181f' lt 1 lw 2 pt 7 ps 1.5 # red
...
和情節:
plot ... w lp ls 1 # Use line style 1
其中:
lc - linecolor
lt - linetype
lw - linewidth
pt - pointtype
ps - pointsize
w - with
lp - linespoints
ls - linestyle
或一行速記:
plot ... w lp lc rgb 'cyan' lw 2 pt 5
線條樣式1會產生藍色方塊點
使用'plot ... with linespoints'。 – Christoph