Previous version had been created with Matplotlib (27985 bytes) now 5.59% of previous size
Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor
Python (Matplotlib)
# Author: Ika, 2013-07-29importnumpyasnpimportmatplotlib.pyplotaspltimportscipy.specialasspimportrandomplt.figure()plt.axes([0.17,0.13,0.79,0.8])plt.hold(True)Q=[]# Draw the ellipse.X=np.arange(-2.00,2.001,0.001)# Quadrant I & IIY=np.sqrt(1-X*X/4)a=plt.plot(X,Y,'-',color='red',lw=2)Q.append(a)# Quadrant III & IVY=-Ya=plt.plot(X,Y,'-',color='red',lw=2)Q.append(a)plt.xlim(-3,3)plt.ylim(-2,2)# Set up the spinesax=plt.gca()ax.spines['right'].set_color('none')ax.spines['top'].set_color('none')ax.xaxis.set_ticks_position('bottom')ax.spines['bottom'].set_position(('data',0))ax.yaxis.set_ticks_position('left')ax.spines['left'].set_position(('data',0))# Set labelax.text(1.5,1,r'$\frac{x^2}{4}+y^2=1$',fontsize=24)plt.savefig("Ellipse_SVG.svg")
This W3C-unspecified plot was created with Gnuplot.
{{Information |Description={{en|1=Ellipse in coordinate system with semi-axes labelled.svg}} |Source=Own work by uploader |Author=Jakob.scholbach |Date=17 Dec 2008 |Permission= |other_versions= }} <!--{{ImageUpload|full}}-->