File:Saddle point.svg
Summary
| Description | Saddle point with the coordinates of . |
| Date | |
| Source | Own work |
| Author | Nicoguaro |
| SVG development | |
| Source code | Python codeimport numpy as np
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
plot_args = {'rstride': 1, 'cstride': 1, 'cmap':"Blues_r",
'linewidth': 0.4, 'antialiased': True,
'vmin': -1, 'vmax': 1}
x, y = np.mgrid[-1:1:31j, -1:1:31j]
z = x**2 - y**2
ax.plot_surface(x, y, z, **plot_args)
ax.plot([0], [0], [0], 'ro')
ax.view_init(azim=-60, elev=30)
ax.set_xlim(-1, 1)
ax.set_ylim(-1, 1)
ax.set_zlim(-1, 1)
plt.xticks([-1, -0.5, 0, 0.5, 1],
[r"$-1$", r"$-1/2$", r"$0$", r"$1/2$", r"$1$"])
plt.yticks([-1, -0.5, 0, 0.5, 1],
[r"$-1$", r"$-1/2$", r"$0$", r"$1/2$", r"$1$"])
ax.set_zticks([-1, -0.5, 0, 0.5, 1])
ax.set_zticklabels([r"$-1$", r"$-1/2$", r"$0$", r"$1/2$", r"$1$"])
ax.w_xaxis.set_pane_color((1.0, 1.0, 1.0, 0.0))
ax.w_yaxis.set_pane_color((1.0, 1.0, 1.0, 0.0))
ax.w_zaxis.set_pane_color((1.0, 1.0, 1.0, 0.0))
plt.savefig("Saddle_point.svg", bbox_inches="tight", transparent=True)
plt.show()
|
Licensing
This file is licensed under the Creative Commons Attribution 3.0 Unported 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.
Original upload log
This image is a derivative work of the following images:
- File:Saddle point.png licensed with PD-self
- 2008-04-12T05:46:35Z Oleg Alexandrov 978x813 (272227 Bytes) crop
- 2006-10-03T22:00:41Z Kieff 1280x960 (297670 Bytes) [[w:Saddle point|Saddle point]] on the surface x^2 - y^2 = z (z being the vertical axis). Rendered by me using [[w:POV-Ray]].
- 2004-12-05T05:00:29Z Ævar Arnfjörð Bjarmason 626x463 (15353 Bytes) new version by Kieff
- 2004-12-05T03:51:04Z Ævar Arnfjörð Bjarmason 558x412 (13919 Bytes)
Uploaded with derivativeFX Category:Uploaded with derivativeFX
Category:Hyperbolic plane Category:Saddle point Category:Surface plots