在GNU PLOT.No问题中,我必须用X轴绘制许多直线。我面临的问题是,大多数绘制线都在yscale 0-0.05范围内,很少在60-70范围内,其余的在600-700范围内。这些数字对应于y轴比例值。但是在我画完图后,我只能看到三组线条都乱七八糟。字里行间没有条理。位于0处的线和位于0.003处的线看起来就像一条线。如果我设置yrange0:0.05,那么这个范围之间的线条是清晰可见的。但我希望所有的线都在同一张图中。我听说过破解轴和多个plotting..Can,它们有用吗?如何实现它们。任何人请帮帮我。以下是摘录
set terminal png size 1300,1200 enhanced font 'Verdana,20
set output ' output .png’
set key font 'Verdana,16'
set key bottom outside
set yrange[500:1000]
set xtics("25k" 25000,"50k" 50000,"75k" 75000,"100k" 100000)
set grid
set title 'Performance Metrics'
set ylabel 'Metrices'
set xlabel 'FES'
plot ' input ' using 1:2 title ' A' with linespoints linewidth 4,
' input ' using 1:3 title B'with linespoints linewidth 4,
'input ' using 1:4 title ' c' with linespoints linewidth 4,
'input ' using 1:5 title 'D' with linespoints linewidth 4,
' input ' using 1:6 title 'E' with linespoints linewidth 4,
' input ' using 1:7 title 'F' with linespoints linewidth 4,
' input ' using 1:8 title 'G' with linespoints linewidth 4,
' input ' using 1:9 title ' H ' with linespoints linewidth 4,
' input ' using 1:10 title ' I' Metric ' with linespoints linewidth 4
set output
set terminal windowsinput.dat是这样的:
25 0.002 0.05 899 455 444 0.08 0.00004 900 700 0.003这样我就有了其他的行。我只展示了第一个
发布于 2013-07-02 20:45:57
然后我会将我的评论转换为答案。;)
将y轴从线性刻度更改为对数刻度,
set logscale y应该能让你的情节更具可比性。
https://stackoverflow.com/questions/17421254
复制相似问题