File:Arcsin z vector field 01 Pengo.svg
Summary
Description |
English: arcsin(z) vector field |
Date | |
Source | Own work |
Author | Pengo |
Other versions |
|
SVG development | |
Source code | Python codefrom pylab import *
from numpy import ma
xmin= -2.5*pi
xmax= 2.5*pi
trimx = pi/2 # crop edges so lines starting outside the plot area will be shown
ymin= -2.5*pi
ymax= 2.5*pi
trimy = pi/2
X,Y = meshgrid( arange(xmin,xmax, pi/10),arange(ymin,ymax,pi/6) )
Z = arcsin(X + Y*1j)
U = real(Z)
V = imag(Z)
figure()
M = abs(Z) # color by abs
#M = angle(Z) # 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("arcsin(z)")
plt.savefig("arcsin_z_vector_field_01_Pengo.svg")
plt.savefig("arcsin_z_vector_field_01_Pengo.png")
show()
|
Licensing
![]() |
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. |