y1 =(4-x)/2
y2 = 2 - 2*x
y3 = (-3+x)/2
plot([y1,y2,y3], (x,-1,6), ymax=10, ymin=-4,gridlines='minor')
I want to colorize the triangle formed by these 3 linear functions. How can I do that? fill = True just confuses the graph.
1 | initial version |
y1 =(4-x)/2
y2 = 2 - 2*x
y3 = (-3+x)/2
plot([y1,y2,y3], (x,-1,6), ymax=10, ymin=-4,gridlines='minor')
I want to colorize the triangle formed by these 3 linear functions. How can I do that? fill = True just confuses the graph.