Plot in GNU PLOT
Posted
by
guddi
on Stack Overflow
See other posts from Stack Overflow
or by guddi
Published on 2013-07-02T08:50:18Z
Indexed on
2013/07/02
11:05 UTC
Read the original article
Hit count: 507
gnuplot
I have to plot many lines in GNU PLOT.No problem with the X axis. The problem that I am facing is that most of the plotted lines are at yscale [0-0.05] ,few at range 60-70 and rest at 600-700. These numbers correspond to the y axis scale values. But after I plot I can see only 3 sets of lines all messed up. There is no clearity between the lines. Line at 0 and the line at 0.003 look like one single line. If I set yrange[0:0.05], the lines between this range are clearly vissible. But I want all the lines in the same graph. I have heard of breaking axis's and multi plotting..Can they be useful? how to implement them. Anyone pls help me. Below is the sript
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 windows
input.dat is something like this: 25 0.002 0.05 899 455 444 0.08 0.00004 900 700 0.003
This way i have other rows. I have shown only the first one
© Stack Overflow or respective owner