File:Visualization of epsilon-delta-continuity 4.svg
![File:Visualization of epsilon-delta-continuity 4.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/1/14/Visualization_of_epsilon-delta-continuity_4.svg/720px-Visualization_of_epsilon-delta-continuity_4.svg.png?20170309184419)
Original file (SVG file, nominally 720 × 540 pixels, file size: 16 KB)
Captions
Captions
Summary
editDescriptionVisualization of epsilon-delta-continuity 4.svg |
English: Visualization of the epsilon-delta-continuity with the function |
Date | |
Source | Own work |
Author | Stephan Kulla (User:Stephan Kulla) |
Other versions |
|
SVG development InfoField | ![]() This plot was created with Matplotlib. |
Source code InfoField | Python codefrom matplotlib.patches import Rectangle
import matplotlib.pyplot as plt
import numpy as np
def create_plot(f, xs, x0, eps, delta, filename):
ys = f(xs)
y0 = f(x0)
xmin = xs.min()
ymin = ys.min()
xss = xs[(xs > x0-delta) & (xs < x0+delta)]
yss = f(xss)
sg = (yss > y0-eps) & (yss < y0+eps)
fig, ax = plt.subplots(1,1)
ax.add_patch(
Rectangle((x0-delta,y0-eps), 2*delta, 2*eps, edgecolor="black",
alpha=0.6, linestyle="solid", facecolor="#dddddd", lw=1.5))
ax.plot(xs, ys)
yss[~sg] = None
ax.plot(xss, yss, color="green", lw=2)
yss = f(xss)
yss[sg] = None
ax.plot(xss, yss, color="red", lw=2)
ax.plot([x0], [y0], "o", color="black")
fig.savefig(filename)
xs = np.linspace(-2, 4, 1e5)
create_plot(lambda x: x/3.0, xs, 1, 1, 2, "Visualization of epsilon-delta-continuity 1.svg")
create_plot(lambda x: x/3.0, xs, 1, 0.5, 1, "Visualization of epsilon-delta-continuity 2.svg")
create_plot(lambda x: x/3.0, xs, 1, 1./3, 3./4, "Visualization of epsilon-delta-continuity 3.svg")
create_plot(lambda x: x/3.0, xs, 1, 0.5, 2, "Visualization of epsilon-delta-continuity 4.svg")
|
Licensing
edit![]() ![]() |
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.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:44, 9 March 2017 | ![]() | 720 × 540 (16 KB) | Stephan Kulla (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 4 pages use this file:
File usage on other wikis
The following other wikis use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576pt |
---|---|
Height | 432pt |