Ask Your Question

3-D Smooth Surface Plots

asked 2013-09-06 06:25:50 +0200

yMAHESHWARAN gravatar image

updated 2015-01-23 21:55:59 +0200

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

answered 2013-09-06 10:29:34 +0200

tmonteil gravatar image

updated 2019-04-07 21:00:53 +0200

FrédéricC gravatar image

The 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)
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


Asked: 2013-09-06 06:25:50 +0200

Seen: 596 times

Last updated: Apr 07 '19