File:Arcsin 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: 967 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: arcsin(z) vector field
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.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[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
current11:41, 14 September 2010Thumbnail for version as of 11:41, 14 September 2010720 × 540 (967 KB)Pengo (talk | contribs){{Information |Description={{en|1=arcsin(z) vector field}} |Source={{own}} |Author=Pengo |Date=2010-09-14 |Permission= |other_versions= }}