Can you show us what you've tried thus far? This is a rather open-ended
question...
Cheers,
Mike
Ryan Pavlovicz wrote:
> Hi. I'd like to add a filled area on my graph to denote the standard
> deviation from an average. Additionally, i'd prefer the fill to be a
> diagonal hatch. Reading onl
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
xy = 0.3, 0.3,
width, height = 0.2, 0.5
p = mpatches.Rectangle(xy, width, height, facecolor="orange", edgecolor="red")
plt.gca().add_patch(p)
plt.draw()
A Rectangle is a patch class and (although I'm not sure) I don't think
Hi. I'd like to add a filled area on my graph to denote the standard
deviation from an average. Additionally, i'd prefer the fill to be a
diagonal hatch. Reading online, i found that there is a 'Rectangle' class,
but i can't get this to work. Can someone suggest a good way to get the
results i'