New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to draw parabola using python?
y^2=4ax be the general equation of required parabola
2 Answers
+ 5
from numpy import *
from matplotlib.pyplot import plot, show, savefig
a = 1
y = arange(-10, 10, 0.01)
x = y**2 / 4*a
plot(x, y)
savefig('test.png')
+ 4
Namish Kucharkal this link should help you with that...
https://stackoverflow.com/questions/30553585/graphing-a-parabola-using-matplotlib-in-JUMP_LINK__&&__python__&&__JUMP_LINK