Ask Your Question
0

3-D Smooth Surface Plots

asked 2013-09-05 23:25:50 -0500

yMAHESHWARAN gravatar image

updated 2015-01-23 14:55:59 -0500

FrédéricC gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
3

answered 2013-09-06 03:29:34 -0500

tmonteil gravatar image

The function list_plot3d() has options to do that. To learn about this, look at the documentation bt 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)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-09-05 23:25:50 -0500

Seen: 341 times

Last updated: Sep 06 '13