0% found this document useful (0 votes)
2 views2 pages

metodos tabla

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

metodos tabla

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

import numpy as np

import matplotlib.pyplot as plt


from matplotlib import cm
from mpl_toolkits import mplot3d

X=np.linspace(554431,554603,10)
Y=np.linspace(9603443,9603517,10)
X, Y = np.meshgrid(X, Y)

Z=((y-9603517)/(-74))*(((x-554603)/(-172))*(27.56)+((x-554431)/172)*(27.92))+((y-
9603443)/74)*(((x-554603)/(-172))*(27.5)+((x-554431)/172)*(27.7))

X=np.linspace(554603,554642,10)
Y=np.linspace(9603443,9603517,10)
X,Y = np.meshgrid(X,Y)

M=(((y-9603517))/((-74) ))*(((x-554642)/(-39))*(27.92) +((x-554603)/39)*(26.95))


+((y-9603443)/74)*(((x-554642)/(-39))*(27.7)+((x-554603)/39)*(26.9))

x=np.linspace(554642,554821,10)
y=np.linspace(9603443,9603517,10)
x, y = np.meshgrid(x, y)

N= (((y-9603517))/((-74) ))*((((x-554821))/((-179)))*(26.95)
+(((x-554642))/((179)))*(27.21)) +(((y-9603443))/((74)))*((((x-554821))/((-
179)))*(26.9) +(((x-554642))/((179)))*(28.3))

x1=np.linspace(554431,554603,10)
y=np.linspace(9603342 ,9603443,10)
x1, y = np.meshgrid(x1, y)

Q=(((y-9603443))/((-101) ))*(((x-554603)/(-172))*(27.81)
+((x-554431)/172)*(26.33)) +((y-9603342)/101)*(((x-554603)/(-172))*(27.56) +((x-
554431)/172)*(27.92))

x2=np.linspace(554603,554642,10)
y=np.linspace(9603342 ,9603443,10)
x2, y = np.meshgrid(x2, y)

W=(((y-9603443))/((-101) ))*(((x2-554642)/(-39))*(26.33)
+((x2-554603)/39)*(27.86)) +((y-9603342)/101)*(((x2-554642)/(-39))*(27.92) +((x2-
554603)/39)*(26.95))

x2=np.linspace(554642,554821,10)
y1=np.linspace(9603342 ,9603443,10)
x2, y1 = np.meshgrid(x2, y1)

V=(((y-9603443))/((-101) ))*(((x-554821)/(-179))*(27.86)
+((x-554642)/179)*(28.11)) +((y-9603342)/101)*(((x-554821)/(-179))*(26.95) +((x-
554642)/179)*(27.21))

fig = plt.figure()
ax = fig.add_subplot(projection='3d')
ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.viridis)
ax.plot_surface(X, y, J, rstride=1, cstride=1, cmap=cm.viridis)
ax.plot_surface(x, y, N, rstride=1, cstride=1, cmap=cm.viridis)
ax.plot_surface(x1, y, Q, rstride=1, cstride=1, cmap=cm.viridis)
ax.plot_surface(x2, y, W, rstride=1, cstride=1, cmap=cm.viridis)
ax.plot_surface(x2, y1, V, rstride=1, cstride=1, cmap=cm.viridis)

You might also like