How do I fill the area under a curve between two $x$-values using sage plot?
For example, maybe I am using the following code:
plot(x(x-1)(x-2)+1,0,2,fill=True)
but I only want the area under the curve from x = 0.5 to x = 1.5 to be shaded in.
1 | initial version | asked 2011-11-27 12:50:42 +0100 Anonymous |
How do I fill the area under a curve between two $x$-values using sage plot?
For example, maybe I am using the following code:
plot(x(x-1)(x-2)+1,0,2,fill=True)
but I only want the area under the curve from x = 0.5 to x = 1.5 to be shaded in.