File:Sin z vector field 01 Pengo.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 720 × 540 pixels, file size: 422 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description vector field of sin(x+iy)
Date
Source Own work
Author Pengo
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

from pylab import *
from numpy import ma

xmin= -1.5*pi
xmax=  1.51*pi
ymin= -2.0
ymax=  2.0

X,Y = meshgrid( arange(xmin,xmax, pi/8),arange(ymin,ymax,.1) )
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', pivot='mid', width=0.022, scale=1/0.3)
#plot(X, Y, 'k,') # dots: 'k.' 'k,' ',' 's'
axis([xmin, xmax, ymin, ymax])
title("sin(z)")

plt.savefig("sin_z_vector_field_01_Pengo.svg")
show()

Licensing[edit]

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:00, 14 September 2010Thumbnail for version as of 05:00, 14 September 2010720 × 540 (422 KB)Pengo (talk | contribs){{Information |Description=vector field of sin(x+iy) |Source={{own}} |Date=2010-09-14 |Author= Pengo |Permission=see below |other_versions= }} Category:Sine function

There are no pages that use this file.