How to export ContourPlot3D surface and regenerate it in Excel, Originlab or some other similar softwares

£可爱£侵袭症+ 提交于 2020-01-03 10:44:09

问题


I tried this, but failed.

fig3D = ContourPlot3D[ x^2 + y^3 - z^2 == 0, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, 
                       PlotPoints -> 100]
pts = (InputForm@fig3D)[[1, 1, 1]];
ListSurfacePlot3D[pts]

The regenerated surface is very poor. Any suggestions? thanks!


回答1:


Not too bad if you specify MaxPlotPoints

ListSurfacePlot3D[pts, Mesh -> None, MaxPlotPoints -> 100]

Compare with

ListSurfacePlot3D[pts]

Edit

Regarding the export to Excel, please consider that the Excel surface plot is a very basic construction and requires a matrix whose first file and column are the XY values with the Z values in the inner cells. Example:

So, exporting a working dataset to Excel may require (an unspecified amount of) data massaging.



来源:https://stackoverflow.com/questions/7369439/how-to-export-contourplot3d-surface-and-regenerate-it-in-excel-originlab-or-som

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!