由买买提看人间百态

topics

全部话题 - 话题: xtic
(共0页)
z****s
发帖数: 192
1
来自主题: Linux版 - gnuplot question
试一试这个命令应该可以:
plot 'your_data_file' using 0:2:xtic(1):ytic(3)
xtic和ytic可以是全名xticlabels,yticlabels。
z****s
发帖数: 192
2
来自主题: Linux版 - gnuplot question
plot 'your_data_file' using 1:2:xtic(1):ytic(3)
x轴是按从大到小。

plot 'your_data_file' using 0:2:xtic(1):ytic(3)
是按文件数据的顺序。数据在x轴等距。
y****e
发帖数: 1012
3
我想同时画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
D****r
发帖数: 309
4
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
y****e
发帖数: 1012
5
来自主题: TeX版 - 请教一个gnuplot画图问题
set term postscript eps color blacktext "Helvetica" 24
set output 'p1.eps'
set autoscale # scale axes automaticallyun
set label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "I/O Traffic"
set xlabel "Interval(5s)"
set ylabel "Data(KB)"
set key 0.01,10000
set xr [0:100]
set yr [0:10000]
plot "p1.tmp" using 1:2 title 'r0' ... 阅读全帖
r*****z
发帖数: 906
6
来自主题: TeX版 - 请教一个gnuplot画图问题
我用的是gnuplot 4.4,所以需要对你的命令做一点儿修改。
修改后的如下:
set term postscript eps color blacktext "Helvetica" 24
set output 'p1.eps'
set autoscale # scale axes automaticallyun
unset log
unset label
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "I/O Traffic"
set xlabel "Interval(5s)"
set ylabel "Data(KB)"
set key at 1,100
set xr [0:100]
set yr [0:10000]
plot "p1.tmp" using 1:2 title 'r0' with li... 阅读全帖
T*******n
发帖数: 493
7
来自主题: TeX版 - A question about gnuplot

I usually use something like
set terminal postscript eps enhanced color "Times-Roman" 20
set output "file.eps"
This will result in an EPS file that uses the PS Times-Roman font
at 10 pt as the default font; when the "eps" option is specified,
the specified pt size (20) is divided by 2 to give the actual pt size.
Try one or more of these commands (say "help set ..." to see the
full syntax): set xrange, set yrange, set size, set xtics, set ytics,
set mxtics, set mytics
T*******n
发帖数: 493
8
# This gnuplot script will get you started.
# You need to transpose the data and save it in the format
# shown at the end of the script.
# If you want to color-fill the bars, you'll need to edit the
# EPS file that is created.
set terminal postscript eps enhanced color solid "Times-Roman" 20
set output "bargraph.eps"
set xrange [0:5]
set yrange [0:8000]
set xlabel "cases"
set ylabel "values"
set xtics ("case 1" 1, "case 2" 2, "case 3" 3, "case 4" 4)
set grid ytics
set mytics 5
set key width -9 b
(共0页)