How to fill region between two graphs using different styles or patterns?
How to fill region between two graphs using different styles or patterns?
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')
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 11 years ago
Seen: 931 times
Last updated: Jan 11 '14