The normal curve, shaded under the curve, down to the x axis, for x < -.8.
But not shaded for x > -.8.
Can anybody help? Thanks.
John Campbell
> The normal curve, shaded under the curve, down to the x axis, for x < -.8.
> But not shaded for x > -.8.
That may not be possible in any simple way. You'll have to plot a
reduced function 'with filledcurves' that is not defined for x < -0.8.
And it may not work very well --- there seem to be some bugs in that
area.
--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
plot x**2 w l lt 1, (x>-2 ? log(0) : x**2) w filledcurve x1
In gnuplot version 4.1 you can also fill the space between two curves,
but as fas as I understand, you have to pick three columns from a
datafile (doesn't work with function). Check the file
demo/fillbetween.dem.
G.
That is correct, but you can nevertheless dummy up a plot that
uses both a data-generated curve and a function. Here is an example:
f(x) = <some model for your data>
plot 'data' using 1:2:(f($1)) with filledcurves above
--
Ethan A Merritt