Vertical and horizontal span on plots
Hello!
Is there a way to add a vertical or horizontal span to a plot in Sage? I need something similar to axhspan() and axvspan() functions in Matplotlib (example).
Thank you!
Actually,Sage's plot module is a wrapper of matplotlib, so you can use Matplotlib directly
Yes, I know I can use Matplotlib directly, but using Sage's *list_plot()* function is very convenient, and I would like to mark some range along the horizontal axis on the plot generated by several consecutive *list_plot()* calls. Currently I just add a coloured polygon, but I have to adjust its edges to exactly fit the area I need. *axvspan()* is much easier to use in this sense.