File:Continuous in x and y but non continuous.png
Original file (1,228 × 941 pixels, file size: 114 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionContinuous in x and y but non continuous.png |
English: 3D plop of the bivariable function
This function is continuous in x and y both and respectively, but overall non continuous.
Français : Représentation en 3D de la fonction de deux variables
Cette fonction est continue par rapport à x et y respectivement, mais n'est pas continue. |
Date | |
Source |
Own work This plot was created with Matplotlib. |
Author | TomT0m |
Figure generated by the python script :
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
from matplotlib.ticker import LinearLocator, FormatStrFormatter
import matplotlib.pyplot as plt
import numpy as np
def plop(X, Y):
if X>=1 and X>Y and Y>=0 :
return (Y/X)-Y
elif Y>=1 and Y>X and X>=0 :
return (X/Y)-X
elif X==Y and Y>0:
return 1-X
else:
return 0
def plop_py(func):
fig = plt.figure()
ax = fig.gca(projection='3d')
myfunc = np.vectorize(func)
x = fig.gca(projection='3d')
X = np.arange(-1, 10, 0.05)
Y = np.arange(-1, 10, 0.05)
X, Y = np.meshgrid(X, Y)
Z = myfunc(X,Y)
surf = ax.plot_surface(X, Y, Z, rstride=2, cstride=1,
cmap=cm.gist_heat,
linewidth=0, antialiased=False, shade=False)
plt.show()
plop_py(plop)
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 | 16:08, 14 December 2016 | 1,228 × 941 (114 KB) | TomT0m (talk | contribs) | {{Information |Description ={{en|1=3D plop of the bivariable function <math> f(x,y)= \begin{cases}. This function is continuous in x and y both and respectively, but overall non continuous \frac{y}{x}-y & \text{if } 1 \geq x > y \geq 0 \\ \frac{x}{y... |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on uk.wikipedia.org
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.
Horizontal resolution | 39.37 dpc |
---|---|
Vertical resolution | 39.37 dpc |