|
From: Thomas S. <t.s...@fz...> - 2008-03-05 15:06:26
|
set xrange [0:9]
set yrange [0:10]
# plot all data points
plot 'data1.dat' us 1:2 w lp, 'data2.dat' us 1:2 w lp
# plot only some datapoints
plot 'data1.dat' us 1:($1<=4?$2:0/0) w lp, 'data2.dat' us
1:($1>=2?($1<=7?$2:0/0):0/0) w lp
see 'help ternary'
I have two files:
"data1.dat" "data2.dat"
1 2 1 3
2 3 2 5
4 5 6 7
6 7 7 5
7 9 8 8
So, how plot "data1.dat" from x[1:4] and "data2.dat" from x[2:7] at the same
plot?
'Masking' is when drop out some points during line fitting.
Thomas Sefzick wrote:
>
> see 'help set xrange'
>
> what does 'masking' do?
>
>
--
View this message in context: http://www.nabble.com/plotting-part-of-data-tp15849415p15852278.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|