File:Cauchy sequence illustration.svg

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

Original file (SVG file, nominally 305 × 170 pixels, file size: 50 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Illustration of Cauchy sequence. Created using python with numpy and matplotlib toolkits. Based on the file: File:Cauchy_sequence_illustration.png.
Date
Source Own work
Author Krishnavedala
Python source
InfoField
click to expand
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero
from numpy import arange, sin, exp

x1 = arange(0.,9.1,.05)
x2 = arange(0.,9.6,.1)
z = lambda x: 3.*exp(-.4*x)
y = lambda x: sin(5.*x) * z(x)

fig = figure(figsize=(4,2))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)

ax.axis["top"].set_visible(False)
ax.axis["right"].set_visible(False)
ax.axis["left"].set_axisline_style("->")
ax.axis["bottom"].set_axisline_style("->")
ax.set_yticks([])
ax.set_xticks([])
ax.set_xlim(-1,10)
ax.set_ylim(-3,3)

ax.plot(x1,y(x1),'bo',ms=2.5)
ax.plot(x2, z(x2),'r--',lw=1.5)
ax.plot(x2,-z(x2),'r--',lw=1.5)

ax.text(10,-2.8,u'$n$')
ax.text(-.75,3,u'$X_n$')
fig.savefig("Cauchy_sequence_illustration.svg",bbox_inches="tight",pad_inches=.15)

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

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

Date/TimeThumbnailDimensionsUserComment
current04:24, 9 September 2011Thumbnail for version as of 04:24, 9 September 2011305 × 170 (50 KB)Krishnavedala (talk | contribs)

File usage on other wikis

The following other wikis use this file:

View more global usage of this file.