|
From: Petr M. <mi...@ph...> - 2005-01-13 15:54:20
|
> But if you try to plot 2 data-files, one empty the other not, you get
> the same answer, and that is not OK. There _is_ something to plot. That
> situation may arise if the data-files and the gnuplot script are
> generated automatically.
>
> So I think that in plot2d.c:
>
> int_error(c_token, "no valid data points found in specified file");
>
> should be replaced with:
>
> int_warn(c_token, "no valid data points found in specified file");
This behviour is fine with me, just there should be an int_error("nothing to
plot") if there was only a single (empty) file to plot. Please update your
patch, add taking care of 3d plots.
What should happen here:
plot x*x, 'empty.dat'
?? Currently it reports an empty x-range.
---
PM
|