File:Curva sobre una superficie.svg

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

Original file(SVG file, nominally 910 × 910 pixels, file size: 4.97 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
Español: Curva de la función paramétrica sobre la superficie "silla de perro" definida por la ecuación , con .
Date
Source Own work
Author Nesper94
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

'''
Ejemplo de una curva sobre una superficie

Creado con Matplotlib 3.8.2
'''
import numpy as np
import matplotlib.pyplot as plt

# Curva paramétrica
t = np.linspace(-1,1,1000)
x = t*np.cos(10*t)
y = t*np.sin(10*t)
z = x*y**3 - y*x**3

# Superficie (Silla de perro)
X, Y = np.meshgrid(t,t)
Z = X*Y**3 - Y*X**3

# Graficar
fig = plt.figure(figsize=(10,10), layout='constrained')
ax = fig.add_subplot(projection='3d')
ax.plot_surface(X,Y,Z, alpha=0.7)
ax.plot(x,y,z, color='blue')
ax.set_xlabel('X')
ax.set_ylabel('Y')
ax.set_zlabel('Z')
ax.view_init(elev=20, azim=45)
fig.savefig('curva-sobre-superficie.svg', transparent=True, bbox_inches='tight')

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current01:02, 21 December 2023Thumbnail for version as of 01:02, 21 December 2023910 × 910 (4.97 MB)Nesper94 (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata