Skip to content

Instantly share code, notes, and snippets.

@myuon
Last active March 9, 2016 07:04
Show Gist options
  • Save myuon/7033ac2815b56e3c0ecc to your computer and use it in GitHub Desktop.
Save myuon/7033ac2815b56e3c0ecc to your computer and use it in GitHub Desktop.
Graph
> f(x,T) = x < (T/4.0) ? 0 : (T/4.0 <= x && x < T) ? (4.0/9.0)*(1.0/(T**2))*(x-T/4.0)**2 : (T <= x && x < 2 * T) ? (0.6/(T**2))*(x-T)**2 + 0.25 : 0.25*log10(x / (2.0*T)) + 0.85
> plot [0:100] f(x,20)
@myuon
Copy link
Author

myuon commented Mar 9, 2016

screenshot at 2016-03-09 16 03 42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment