Revision history of "File:Overload.svg"

From TheAnalogThing

Diff selection: Mark the radio boxes of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 10:45, 9 August 2021Sven talk contribs 2,545 bytes +2,545 A cartoon displaying the Machine Units. Made by User:Sven == Python/Matplotlib source code == <pre> import pylab as pl, numpy as np # some inspiration comes from https://stackoverflow.com/a/23855021 maxX = 5 A = 1.5 # sin amplitude B = 1.2 # clipping C = 1.0 # computing range x = np.arange(-maxX, maxX,0.1) y = np.exp(x/2) * np.sin(x)*A tolerance = np.logical_or(y < -C, y > C) overload = np.logical_or(y < -B, y > B) y = np.clip(y, -B, B) fig = pl.figure() ax = fig.add_subplot(111...