Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For more details, you should go to the plotting documentation and search for "fill " - in particular, you can even fill between different functions using the function itself as the key value. And example from there:

sage: plot(1.13*log(x), 1, 100, fill = lambda x: nth_prime(x)/floor(x), fillcolor = 'red')