Ask Your Question
0

Plot in 3D without interpolation

asked 2012-07-30 04:02:06 +0100

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

Comments

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 11:28:52 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-07-30 06:38:42 +0100

achrzesz gravatar image

updated 2012-07-30 07:07:43 +0100

edit flag offensive delete link more

Comments

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 13:19:49 +0100 )edit
1

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

achrzesz gravatar imageachrzesz ( 2012-07-30 13:59:17 +0100 )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 14:03:16 +0100 )edit

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

achrzesz gravatar imageachrzesz ( 2012-07-30 14:29:17 +0100 )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

Stats

Asked: 2012-07-30 04:02:06 +0100

Seen: 374 times

Last updated: Jul 30 '12