Ask Your Question
1

How to orthogonaly project a 3d plot to coordinate planes?

asked 2012-04-06 12:54:47 +0100

dnizetic gravatar image

updated 2012-04-06 13:18:11 +0100

Hi, I created a 3d plot with

parametric_plot3d( (cos(t)^3, sin(t)^3, cos(2*t)), (t, 0, 2*pi))

I looked over at google for some projection() functions but I didn't find much.

Basically what I need to do is orthogonally project that plot onto coordinate planes (x, y, z).

If anyone has any idea or an approximate algorithm, that would be nice.

Edit: is it possible that this is an orthogonal projection to coordinate planes? I'm showing 3 plots, first has z = 0, second has x = 0 and third has y = 0.

show( parametric_plot3d((cos(t)^3, sin(t)^3, 0), (t, 0, 2*pi)) + parametric_plot3d( (0, sin(t)^3, cos(2*t)), (t, 0, 2*pi)) + parametric_plot3d( (cos(t)^3, 0, cos(2*t)), (t, 0, 2*pi)));
edit retag flag offensive close merge delete

Comments

yep, looks like you got it :)

niles gravatar imageniles ( 2012-04-06 17:44:26 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-06 13:23:29 +0100

kcrisman gravatar image

Is this what you mean? We can just "slice" the vector here to get the coordinate pieces.

sage: var('t')
t
sage: V = vector((cos(t)^3, sin(t)^3, cos(2*t)))
sage: parametric_plot3d(V,(t,0,2*pi))
sage: parametric_plot(V[:2],(t,0,2*pi))
sage: parametric_plot(V[1:],(t,0,2*pi))
sage: parametric_plot(vector((V[0],V[2])),(t,0,2*pi))

Naturally, orthogonal projection to some random plane would be more involved (though basically you could use the vector projection, I guess), but maybe you don't need that much firepower.

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: 2012-04-06 12:54:47 +0100

Seen: 25,597 times

Last updated: Apr 06 '12