From: Petr M. <mi...@ph...> - 2004-05-03 18:42:37
|
> I had in mind a further extension to allow both > plot sin(x) with filledcurve below y1=f(x) > plot 'data' using 1:2 with filledcurve above y1=f(x) > > But your suggestion above is a better idea, at least for > the data case, because it uses existing function evaluation > code: > plot 'data' using 1:2:(f($1)) with filledcurve > > That leaves a few questions: > > Do we allow "above" and "below" in this case? Yes > I think it reasonable that > plot 'data' using 1:2:(f($1)) with filledcurve above > would fill only those areas where $2 > f($1) Ys > What exactly should be filled if f(x) is undefined at a given x? > Or in the case of two datasets, what if one of the datasets > has a missing value? It should be equivalent to the case when the y-axis point (like $2 above) data point is undefined or missing. --- PM |