File:Ellipse in coordinate system with semi-axes labelled.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 512 × 341 pixels, file size: 2 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionEllipse in coordinate system with semi-axes labelled.svg |
English: Ellipse in coordinate system with semi-axes labelled.svg |
| Date | |
| Source | Own work |
| Author | Jakob.scholbach |
| SVG development InfoField |
Python (Matplotlib) # Author: Ika, 2013-07-29 import numpy as np import matplotlib.pyplot as plt import scipy.special as sp import random plt.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 & II Y = np.sqrt(1-X*X/4) a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) # Quadrant III & IV Y = -Y a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) plt.xlim(-3,3) plt.ylim(-2,2) # Set up the spines ax = 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 label ax.text(1.5,1,r'$\frac{x^2}{4}+y^2=1$',fontsize=24) plt.savefig("Ellipse_SVG.svg")
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
| Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the license of your choice.
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
some value
17 December 2008
1,565 byte
image/svg+xml
654ca5555324173dfea8af5e1aee3d9f863dc7a7
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 13:26, 23 May 2014 | 512 × 341 (2 KB) | wikimediacommons>Krishnavedala | Hand-drawn svg |
File usage
There are no pages that use this file.
