dotfiles/.local/bin/dropdowncalc
Alexander Bocken 7f476e0d77 removed annoying check in searx, labels for dropdowncalc
modified:   .local/bin/dropdowncalc
	modified:   .local/bin/tools/searx
2020-08-17 18:28:13 +02:00

17 lines
299 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
ifinstalled python && python -iq -c "print('Welcome to the Calculator')
from numpy import *
import sys
import matplotlib.pyplot as plt
sys.ps1=''
def plot(a, b, f):
x = linspace(a, b, 1000)
y = eval(f)
plt.plot(x, y)
plt.xlabel('x')
plt.ylabel(f)
plt.show()
"