File:Sin z vector field 01 Pengo.svg

Summary

Description vector field of sin(x+iy)
Date
Source Own work
Author Pengo
Other versions
SVG development
InfoField
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

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.
Category:Self-published work#Sin%20z%20vector%20field%2001%20Pengo.svgCategory:PD-self#Sin%20z%20vector%20field%2001%20Pengo.svg Category:Sine function Category:Vector fields
Category:PD-self Category:Self-published work Category:Sine function Category:Valid SVG created with Matplotlib code Category:Vector fields