Get coordinates of implicit plot.
I'm using the implicit_plot3d() function to draw some surface. My question is if it's possible to extract the x, y, and z coordinates of that surface.
I'm using the implicit_plot3d() function to draw some surface. My question is if it's possible to extract the x, y, and z coordinates of that surface.
I understand that you want the vertex coordinates of the triangles used to plot the surface. If this were the case, the following code exemplifies how to get the list of such coordinates:
var("x,y,z")
surf = implicit_plot3d(x^4+y^4+z^4==1,(x,-1,1),(y,-1,1),(z,-1,1))
surf.triangulate()
surf.vertex_list()
Asked: 2020-06-27 10:27:06 -0600
Seen: 48 times
Last updated: Jun 27 '20
can't append to graphics object
plot unions, intersections, etc.
different color on backside of surface
Translucency lost after applying add_condition method
Showing a Graphic3d object [closed]
How can I display a polytope in SageMathCloud?
Graphics not plotted in same plot?
Display a graphics object with multiple primatives
Why does graph plotting crop so aggressively, and what is a work-around?