user_prady wrote:
> Now I m plotting two data files in a sigle plot with the following simple
> command.
> Plot "I_indat.txt" with lines, "I_outplot" with lines
>
> Now problem is The file called I_outplot has 4 times data than I_indat.txt.
That's not the real problem. The real problem is that your data files
have only a single column. So gnuplot has to invent an x column for
you. But you can help it, by specifying a 'using' option:
plot "I_indat.txt" using ($0/4):1 with lines, \
"I_outplot" using 0:1 with lines
Or you could change your data file to actually contain the x data.
|