You could construct a goofy kind of function for your
second problem, i.e.
plot 'data.dat' u 1:($3==1?$2:0)
which should plot the second column if the third
column is equal to one, and plot zero if it isn't.
Although I've never tried plotting this so I don't
know if it will work. The answer to your first
question lies in the fact that your on a linux box -
somebody posted the same question a couple of months
back - you can combine the data files using a unix
commands, and plot the resulting combined data. I
can't remember the command though, I don't think it
was cat, it would have been the one that makes it
combine along rather than down. perhaps someone else
> I have three data-files: file1 with more columns
> file2 and 3 with more columns
> I want to have a 2D plot with x axis: column 2 in
> and y axis: (column 3 in
> or y axis: (column 3 in
> file2)/(column5 in file3)
> I have one 'data-file' with 3 columns
> I want to plot 'data-file' u 1:2 only if the
> parameter in the third column
> have a definite value.
> Thank you very much!
> system: red hat linux 8.0
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
[[[[ to unsubscribe from info-gnuplot, send an email with body