File:Sinh cosh tanh.svg

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

Original file(SVG file, nominally 504 × 504 pixels, file size: 17 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description

The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.

Replaces en:Image:sinh cosh tanh.png

Instructions
Generated with en:Matplotlib using the script below. Edited using en:Inkscape to fix clipping issues.
Date
Source Own work
Author Fylwind at English Wikipedia
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

lim = 8
size = 5.6
fig, ax = plt.subplots(figsize=(size, size))
xs = np.linspace(-lim, lim, 1000)
ax.plot(xs, np.sinh(xs), label="y = sinh(x)",
        color="#b30000", linestyle="-", linewidth=2)
ax.plot(xs, np.cosh(xs), label="y = cosh(x)",
        color="#00b300", linestyle="--", linewidth=2)
ax.plot(xs, np.tanh(xs), label="y = tanh(x)",
        color="#0000b3", linestyle=":", linewidth=2)
ax.set_xlim(-lim, lim)
ax.set_ylim(-lim, lim)
ax.set_xticks([-1, 0, 1])
ax.set_yticks([-1, 0, 1])
ax.set_xlabel("x")
ax.set_ylabel("y")
ax.grid("on")
ax.legend(loc="lower right")
fig.tight_layout()
fig.savefig("sinh_cosh_tanh.svg", transparent=True)

Licensing[edit]

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Original upload log[edit]

The original description page was here. All following user names refer to en.wikipedia.
  • 2006-03-14 10:22 Ktims 1600×1200×0 (8934 bytes) The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.
  • 2006-03-14 10:21 Ktims 1600×1200×0 (8965 bytes) The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.
  • 2006-03-14 10:15 Ktims 1600×1200×0 (8967 bytes) The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.
  • 2006-03-14 10:15 Ktims 1600×1200×0 (8980 bytes) The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.
  • 2006-03-14 10:14 Ktims 1600×1200×0 (8902 bytes) The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes.

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:27, 10 March 2016Thumbnail for version as of 23:27, 10 March 2016504 × 504 (17 KB)Fylwind (talk | contribs)Make asymptotics more evident.
00:39, 6 February 2007Thumbnail for version as of 00:39, 6 February 20071,600 × 1,200 (13 KB)Alejo2083 (talk | contribs)dashed lines
00:31, 6 February 2007Thumbnail for version as of 00:31, 6 February 20071,600 × 1,200 (9 KB)Alejo2083 (talk | contribs){{Information |Description=The hyperbolic sine (red), hyperbolic cosine (green) and hyperbolic tangent (blue) graphed on the same axes. Replaces en::Image:sinh cosh tanh.png == Instructions == Generated with the following en:gnuplot source. XM

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata