plot - ploting many files order on one line at gnuplot -
i have plot 10 files same legend, need order number inside files, because when write line @ gnuplot, shows bad image. numbers have before others show continue line on graph. looking red line possible see mean. there way that?
plot '<paste ../00/statistic100.txt ../01/statistic100.txt ../02/statistic100.txt ../03/statistic100.txt ../04/statistic100.txt ../05/statistic100.txt ../06/statistic100.txt ../07/statistic100.txt ../08/statistic100.txt ../09/statistic100.txt' linespoint ls 1 title 'reputation until 100%'
thanks in advance! felipe
use smooth unique
after plot command.
from gnuplot
documentation:
the unique option makes data monotonic in x; points same x-value replaced single point having average y-value. resulting points connected straight line segments.
example
without ordering
plot "-" lines 0 3 2 4 -2 2 -5 -1 1 5 5 6 -1 -3 4 0 -3 -3 3 -4 -4 1 e
result:
with ordering
plot "-" smooth unique lines 0 3 2 4 -2 2 -5 -1 1 5 5 6 -1 -3 4 0 -3 -3 3 -4 -4 1 e
result:
Comments
Post a Comment