File:Mplwp arsinh arcosh artanh.svg

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

Original file(SVG file, nominally 600 × 400 pixels, file size: 30 KB)


English: Plot of the inverse hyperbolic functions area sinus hyperbolicus, area cosinus hyperbolicus and area tangens hyperbolicus in the interval [-4, 4]:
Source Own work
Author Geek3
Other versions
SVG development
Mplwp logo.svg
This plot was created with mplwp, the Matplotlib extension for Wikipedia plots.

mplwp source code

The plot was generated with mplwp 1.6
# -*- coding: utf8 -*-

import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
from math import *

code_website = ''
    import mplwp
except ImportError, er:
    print 'ImportError:', er
    print 'You need to download from', code_website

name = 'mplwp_arsinh_arcosh_artanh.svg'
fig = mplwp.fig_standard(mpl)

xlim = -4,4; fig.gca().set_xlim(xlim)
ylim = -3,3; fig.gca().set_ylim(ylim)

x1 = np.linspace(xlim[0], xlim[1], 5001)
y1 = [asinh(xx) for xx in x1]
plt.plot(x1, y1, label='arsinh', zorder=4)

y2 = np.linspace(0, acosh(xlim[1]), 5001)
x2 = [cosh(yy) for yy in y2]
plt.plot(x2, y2, label='arcosh', zorder=2)
plt.plot(x2[0], y2[0], 'o', color=fig.gca().lines[-1].get_color(), zorder=3)

y3 = np.linspace(ylim[0], ylim[1], 5001)
x3 = [tanh(yy) for yy in y3]
plt.plot(x3, y3, label='artanh', zorder=1)

plt.legend(loc='upper left').get_frame().set_alpha(0.9)


I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
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 attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

You may select the license of your choice.

File history

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

current13:22, 6 April 2015Thumbnail for version as of 13:22, 6 April 2015600 × 400 (30 KB)Geek3 (talk | contribs)with dot
21:52, 30 April 2014Thumbnail for version as of 21:52, 30 April 2014600 × 400 (30 KB)Geek3 (talk | contribs)arsinh_arcosh_artanh plot by Geek3
  • You cannot overwrite this file.

There are no pages that use this file.