How to plot a function with conditional statements using matplotlib in python -
i wanna know how draw function in python, i've yet grasp how make complete functions using matplotlib yet
my goal plot graph function:
f(x)= if x < x^2 x = x^2 else if x \in [0,2] x = x else x = 5
however, i'm not sure how started on except importing matplotlib, im sorry question repetitive, im not sure else go help
Comments
Post a Comment