Plot 3-D¶
In [1]:
import numpy as np
import plotly.graph_objects as go
import gstlearn as gl
import gstlearn.plot3D as gop
import gstlearn.document as gdoc
import IPython
import os
from numpy import pi, cos, sin
gdoc.setNoScroll()
On the Sphere¶
Definition of the Meshing
In [2]:
gl.defineDefaultSpace(gl.ESpaceType.SN)
mesh = gl.MeshSphericalExt()
err = mesh.resetFromDb(None,None,triswitch = "-r5",verbose=False)
Display a white skin around the meshing
In [3]:
blank = gop.SurfaceOnMesh(mesh, opacity=1)
In [4]:
fig = go.Figure(data = [blank])
fig.update_scenes(xaxis_visible=False, yaxis_visible=False, zaxis_visible=False )
f = fig.show()