ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 06 Sep 2013 10:29:34 +02003-D Smooth Surface Plotshttps://ask.sagemath.org/question/10516/3-d-smooth-surface-plots/I want to plot a smooth 3D surface plot using a matrix of integer numbers.
Presently my 3d plot consist of 12X12 matrix but the plot output is jagged and less appealing. Therefore I would like to smoothen the plot using interpolation/extrapolation or cubic splines method or any other method so that I get a smooth surface plot
Which functions in SAGE can be used for smoothening the surface plots?Fri, 06 Sep 2013 06:25:50 +0200https://ask.sagemath.org/question/10516/3-d-smooth-surface-plots/Answer by tmonteil for <p>I want to plot a smooth 3D surface plot using a matrix of integer numbers.
Presently my 3d plot consist of 12X12 matrix but the plot output is jagged and less appealing. Therefore I would like to smoothen the plot using interpolation/extrapolation or cubic splines method or any other method so that I get a smooth surface plot</p>
<p>Which functions in SAGE can be used for smoothening the surface plots?</p>
https://ask.sagemath.org/question/10516/3-d-smooth-surface-plots/?answer=15426#post-id-15426The function `list_plot3d()` has options to do that. To learn about this, look at the documentation by typing:
sage: list_plot3d?
and search for "OPTIONAL KEYWORDS:" and " EXAMPLES:".
For example, you can do:
sage: list_plot3d(M, interpolation_type='spline', degree=3)Fri, 06 Sep 2013 10:29:34 +0200https://ask.sagemath.org/question/10516/3-d-smooth-surface-plots/?answer=15426#post-id-15426