- #1
e2m2a
- 359
- 14
- TL;DR Summary
- Can Python matplotlib plot domain dependent functions in one graph?
Is it possible for Python matplotlib to plot in one graph a domain dependent function? For example, suppose there is a function where y=x from 0< x <=5, y = x sq when 5<x<=7 and y=2x+9 when x>7. Is it possible in Python to plot this with one plot on one graph? If so, how would it be done?
Last edited: