File:Hyperbola2 SVG.svg
From DawoumWiki, the free Mathematics self-learning
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)
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
DescriptionHyperbola2 SVG.svg |
English: SVG version of hyperbola x^2-y^2=4. |
Date | |
Source | Own work |
Author | IkamusumeFan |
SVG development InfoField |
Source code
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
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.
Items portrayed in this file
depicts
some value
28 July 2013
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 00:28, 24 May 2014 | 512 × 512 (2 KB) | wikimediacommons>Krishnavedala | hand-drawn SVG |
File usage
The following 2 pages use this file:
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Short title | Hyperbola |
---|---|
Width | 100% |
Height | 100% |
Retrieved from "https://dawoum.duckdns.org/wiki/File:Hyperbola2_SVG.svg"