First time here? Check out the FAQ!

Ask Your Question
0

Plot in 3D without interpolation

asked 12 years ago

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.

Preview: (hide)

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 ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 12 years ago

achrzesz gravatar image

updated 12 years ago

Preview: (hide)
link

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 ( 12 years ago )
1

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

achrzesz gravatar imageachrzesz ( 12 years ago )

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 ( 12 years ago )

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

achrzesz gravatar imageachrzesz ( 12 years ago )

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: 12 years ago

Seen: 381 times

Last updated: Jul 30 '12