Ask Your Question

Plot in 3D without interpolation

asked 2012-07-29 21:02:06 -0500

jaia gravatar image

Can I use list_plot3d without interpolation, or is there some equivalent? I just want to plot the output of a numerical integration (specifically, the Lorenz attractor) and the interpolation is not helpful.

edit retag flag offensive close merge delete


Are you wanting to plot a surface or a line? The examples in achrzesz's answer below are 3d line plotting, but your question asks about list_plot3d, which plots surfaces.

Jason Grout gravatar imageJason Grout ( 2012-07-30 04:28:52 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-07-29 23:38:42 -0500

achrzesz gravatar image

updated 2012-07-30 00:07:43 -0500

edit flag offensive delete link more


Thanks. line3d works for this example, but what if I really need to plot individual points? Is there any way to do that other than using point and a loop?

jaia gravatar imagejaia ( 2012-07-30 06:19:49 -0500 )edit

For example: sum([point3d((i,i^2,i^3), size=10) for i in range(10)])

achrzesz gravatar imageachrzesz ( 2012-07-30 06:59:17 -0500 )edit

That's point and a nice loop, but it'll do. :-) Still, this seems like a function somebody should add to Sage.

jaia gravatar imagejaia ( 2012-07-30 07:03:16 -0500 )edit

In second link you can do: points(sol,color='red') or line3d(sol)+points(sol,color='red')

achrzesz gravatar imageachrzesz ( 2012-07-30 07:29:17 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2012-07-29 21:02:06 -0500

Seen: 120 times

Last updated: Jul 30 '12