File:Hyperbola2 SVG.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 512 × 512 pixels. Other resolutions: 240 × 240 pixels | 480 × 480 pixels | 768 × 768 pixels | 1,024 × 1,024 pixels | 2,048 × 2,048 pixels.
Original file (SVG file, nominally 512 × 512 pixels, file size: 2 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionHyperbola2 SVG.svg |
English: SVG version of hyperbola x^2-y^2=4. |
Date | |
Source | Own work |
Author | IkamusumeFan |
SVG development InfoField |
Source code
[edit]Python (Matplotlib) # Author: Ika, 2013-07-27 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 hyperbola. # Quadrant I X = np.arange(2.00, 10.01, 0.01) Y = np.sqrt(X*X-4) a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) # Quadrant II X = np.arange(-10.00, -1.99, 0.01) Y = np.sqrt(X*X-4) a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) # Quadrant III X = np.arange(-10.00, -1.99, 0.01) Y = -np.sqrt(X*X-4) a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) # Quadrant IV X = np.arange(2.00, 10.01, 0.01) Y = -np.sqrt(X*X-4) a = plt.plot(X, Y, '-', color='red', lw=2) Q.append(a) plt.xlim(-10,10) plt.ylim(-10,10) # 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,8,r'$x^2-y^2=4$',fontsize=24) plt.savefig("Hyperbola2_SVG.svg")
Gnuplot # Author: Ika, 2013-07-29 set term svg size 800,600 enhanced font 'Times,12' set output 'Hyperbola2_SVG.svg' set isosamples 10000,10000 set samples 10000,10000 set xzeroaxis set yzeroaxis set xlabel "x" set ylabel "y" unset key set xrange [-10.0:10.0] set yrange [-10.0:10.0] # Draw the function curve plot sqrt(x*x-4) plot -sqrt(x*x-4) set term x11 set output
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:28, 23 May 2014 | 512 × 512 (2 KB) | Krishnavedala (talk | contribs) | hand-drawn SVG | |
11:55, 28 July 2013 | 720 × 540 (20 KB) | IkamusumeFan (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on az.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on el.wikipedia.org
- Usage on en.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on tl.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on uz.wikipedia.org
- Usage on vi.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | Hyperbola |
---|---|
Width | 100% |
Height | 100% |