How to plot an Ellipse?

27 views
Skip to first unread message

xiant...@gmail.com

unread,
Aug 29, 2018, 6:42:45 AM8/29/18
to sympy
Hello everyone,

I have read through the documentation to find a way to plot an Ellipse such as:

Ellipse(center=Point(0, 0), hradius=a, vradius=sqrt(a ** 2 - c ** 2))

but the plotting module seems not work on it.

from sympy.plotting.pygletplot import PygletPlot as Plot

So is there any tips?

Thanks,
--Xiantong

xiant...@gmail.com

unread,
Aug 30, 2018, 6:00:18 AM8/30/18
to sympy
or any other geometry entity, suppose I have this 'e'

 e = Triangle(Point(0, 0), Point(4, 0), Point(4, 3))

how do I plot it? 
Reply all
Reply to author
Forward
0 new messages