How to fill the following region:
(x < 100) & (y > 10)
import numpy as np, matplotlib.pyplot as plt
x = np.arange(0,255,0.1)
y = np.arange(0,255,0.1)
plt.plot(x,y)
plt.fill_between(range(0,100), range(10,100),color='r',alpha=.3)
plt.show()
ValueError: Argument dimensions are incompatible
nope!
range(0,100)andrange(10,100)don't have the same dimensions.