https://www.imaginary.org/program/surfer#all-downloads
for windows simply download and install exe
for linux download deb/rpm file install it manually if distro is not debian or rpm based ::
1.extract surferxx.deb using xarchiver/ark or whatever
2. move contes of data.tar.xz to /opt or ~/opt
3. run postinst command found in control.tar.xz in this case simply:
edit SURFER.desktop to installed path to put in application menu or dmenu
cp /opt/SURFER/SURFER.desktop /usr/share/applications/
if you have matplotlib or anaconda u can plot anything using it :: example
# Import libraries
from mpl_toolkits import mplot3d
import numpy as np
import matplotlib.pyplot as plt
# Creating dataset
x = np.outer(np.linspace(-3, 3, 32), np.ones(32))
y = x.copy().T # transpose
z = (np.sin(x **2) + np.cos(y **2) )
# Creating figyre
fig = plt.figure(figsize =(14, 9))
ax = plt.axes(projection ='3d')
# Creating plot
ax.plot_surface(x, y, z)
# show plot
plt.show()
src::
https://www.geeksforgeeks.org/3d-surface-plotting-in-python-using-matplotlib/
Comments
Post a Comment