File:Principle branch of arg on Riemann.svg

Original file (SVG file, nominally 584 × 501 pixels, file size: 57 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: The plot is of the surface of arg, colored by modulus. The thick red lines indicate the cut used to produce the principle branch, and the red hatched section they bracket is the portion of the surface selected.
Date
Source Own work
Author Krishnavedala
Permission
(Reusing this file)
Public domain This image of simple geometry is ineligible for copyright and therefore in the public domain, because it consists entirely of information that is common property and contains no original authorship.
Heptagon
Heptagon
Other versions
 Principle branch of arg on Riemann.png
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

Source code
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
plt.rcParams['svg.fonttype'] = 'none'

x = lambda r, t: np.outer(r, np.cos(t))
y = lambda r, t: np.outer(r, np.sin(t))
z = lambda r, t: t

fig = plt.figure(figsize=[8,7])
ax = fig.gca(projection='3d')

t = np.linspace(-np.pi, np.pi, 20)
r = np.linspace(1, 10, 9)
for rr in r:
    ax.plot(x(rr,t)[0], y(rr,t)[0], z(rr,t), color='r', linewidth=.5, alpha=.5)
ax.plot(x([0,10],-np.pi)[:,0], y([0,10],-np.pi)[:,0], z([0,10],-np.pi), color='r', linewidth=1.5)
ax.plot(x([0,10],np.pi)[:,0], y([0,10],np.pi)[:,0], z([0,10],np.pi), color='r', linewidth=1.5)

t = np.linspace(-2*np.pi, 2*np.pi, 50)
r = np.linspace(0, 10, 5)
ax.plot_surface(x(r,t), y(r,t), z(r,t)
                   , antialiased=True, shade=False
                   , rstride=1, cstride=1
                   , cmap=cm.rainbow_r
                   , alpha=1
                  )
ax.view_init(elev=30, azim=120)
ax.set_xticks([-10,-5,0,5,10])
ax.set_yticks([-10,-5,0,5,10])
ax.set_zticks([-2*np.pi,-np.pi,0,np.pi,2*np.pi])
ax.set_zticklabels(['$-2\\pi$','$-\\pi$','0','$\\pi$','$2\\pi$'])
ax.set_xlabel('R')
ax.set_ylabel('l')
ax.set_zlabel('$\\mathrm{arg}(z)$')
fig.savefig('test_3d.svg', bbox_inches='tight', transparent=True)

Licensing

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

在此檔案描寫的項目

depicts

22 August 2017

File history

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

Date/TimeThumbnailDimensionsUserComment
current01:42, 23 August 2017Thumbnail for version as of 01:42, 23 August 2017584 × 501 (57 KB)KrishnavedalaUser created page with UploadWizard

There are no pages that use this file.

Metadata