y****e 发帖数: 1012 | 1 我想同时画bar和line,请问能在同一个图里面输出吗?
这样行不行呢?
set term postscript eps color blacktext "Helvetica" 24
set output '600030macd.eps'
set autoscale # scale axes automatically
unset log # remove any log-scaling
unset label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "MACD Chart"
set xlabel "date"
set ylabel "s |
y****e 发帖数: 1012 | 2 几乎是照着例子改的,跟输入的数据精度有关吗?
数据:
0 -0.832743 -0.993396 0.160653
1 -0.904100 -0.975537 0.071437
2 -0.921783 -0.964786 0.043003
3 -0.954648 -0.962758 0.008110
4 -1.029347 -0.976076 -0.053271
5 -1.098478 -1.000556 -0.097921
6 -1.092259 -1.018897 -0.073362
7 -0.982403 -1.011598 0.029195
8 -0.910665 -0.991411 0.080746
9 -0.816715 -0.95
【在 y****e 的大作中提到】 : 我想同时画bar和line,请问能在同一个图里面输出吗? : 这样行不行呢? : set term postscript eps color blacktext "Helvetica" 24 : set output '600030macd.eps' : set autoscale # scale axes automatically : unset log # remove any log-scaling : unset label # remove any previous labels : set xtic auto # set xtics automatically : set ytic auto # set ytics automatically : set title "MACD Chart"
|
D****r 发帖数: 309 | 3 set term postscript eps color blacktext "Helvetica" 24
set output '600030macd.eps'
set autoscale # scale axes automatically
unset log # remove any log-scaling
unset label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "MACD Chart"
set xlabel "date"
set ylabel "score"
#set key 0.01,100
set xrange [0 |
s*****g 发帖数: 5159 | 4 yankee确认一下work吗?
【在 D****r 的大作中提到】 : set term postscript eps color blacktext "Helvetica" 24 : set output '600030macd.eps' : set autoscale # scale axes automatically : unset log # remove any log-scaling : unset label # remove any previous labels : set xtic auto # set xtics automatically : set ytic auto # set ytics automatically : set title "MACD Chart" : set xlabel "date" : set ylabel "score"
|
y****e 发帖数: 1012 | 5 真棒,谢谢楼上两位:)
请问哪里有系统介绍gnuplot的文档啊,感觉网上的例子说的不是很清楚…… |
s*****g 发帖数: 5159 | 6 这个是我目前看到的最好的,里面东西很多,需要用的基本上都有,不要着急,慢慢读。
http://t16web.lanl.gov/Kawano/gnuplot/index-e.html
【在 y****e 的大作中提到】 : 真棒,谢谢楼上两位:) : 请问哪里有系统介绍gnuplot的文档啊,感觉网上的例子说的不是很清楚……
|
D****r 发帖数: 309 | 7 the website smugmug provided I have also used quite a lot.
and always try the creator's homepage, e.g.
http://www.gnuplot.info/
or
http://www.duke.edu/~hpgavin/gnuplot.html |
y****e 发帖数: 1012 | |