File:DampedCosine.svg
Page contents not supported in other languages.
Original file (SVG file, nominally 576 × 432 pixels, file size: 17 KB)
DescriptionDampedCosine.svg | English: Exponentially decaying cosine function Español: Función coseno que decae exponencialmente |
Date | |
Source | Own work |
Author | Nicoguaro |
SVG development InfoField | This W3C-invalid plot was created with Matplotlib. |
Source code InfoField | Python codeimport numpy as npimport matplotlib.pyplot as pltplt.rcParams["mathtext.fontset"] = "cm"t = np.linspace(0, 5, 500)y = np.exp(-t)*np.cos(2*np.pi*t)plt.plot(t, y)plt.xlabel("$t$", fontsize=14, loc="right")plt.ylabel("$y(t)$", fontsize=14)plt.xlim(0, 5.5)plt.xticks([1, 2, 3, 4, 5])plt.yticks([-1, -0.5, 0, 0.5, 1])ax = plt.gca()ax.spines['right'].set_color('none')ax.spines['top'].set_color('none')ax.xaxis.set_ticks_position('bottom')ax.spines['bottom'].set_position(('data',0))ax.yaxis.set_ticks_position('left')ax.spines['left'].set_position(('data',0))plt.savefig("DampedCosine.svg")plt.show() |
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 00:21, 26 February 2022 | 576 × 432 (17 KB) | Nicoguaro | Uploaded own work with UploadWizard |
The following other wikis use this file:
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Width | 460.8pt |
---|---|
Height | 345.6pt |