File:Sin z vector field 02 Pengo.svg

From formulasearchengine
Jump to navigation Jump to search

Original file(SVG file, nominally 720 × 540 pixels, file size: 525 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

Description
English: sin(z)
Date
Source Own work
Author Pengo
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This trigonometry was created with Matplotlib.
Source code
InfoField

Python code

from pylab import *
from numpy import ma

xmin= -2*pi
xmax=  2*pi
trimx = pi/2
ymin= -2.6
ymax=  2.6
trimy = .4

X,Y = meshgrid( arange(xmin,xmax, pi/8),arange(ymin,ymax,.2) )
U = sin(X) * cosh(Y)
V = cos(X) * sinh(Y)

figure()
M = sqrt(pow(U, 2) + pow(V, 2)) # color by abs
#M = arctan(V/U) # color by angle
Q = quiver( X, Y, U, V, M, units='x', width=0.022, scale=1/0.15) # pivot='mid', 
plot(X, Y, 'k,') # dots: 'k.' 'k,' ',' 's'
axis([xmin+trimx, xmax-trimx, ymin+trimy, ymax-trimy])
title("sin(z)")

plt.savefig("sin_z_vector_field_02_Pengo.svg")
plt.savefig("sin_z_vector_field_02_Pengo.png")

show()

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

14 September 2010

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current11:28, 14 September 2010Thumbnail for version as of 11:28, 14 September 2010720 × 540 (525 KB)wikimediacommons>Pengo{{Information |Description={{en|1=sin(z)}} |Source={{own}} |Author=Pengo |Date=2010-09-14 |Permission= |other_versions= }} Category:Sine function

There are no pages that use this file.