ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 06 Apr 2012 05:54:47 -0500How to orthogonaly project a 3d plot to coordinate planes?http://ask.sagemath.org/question/8863/how-to-orthogonaly-project-a-3d-plot-to-coordinate-planes/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)));
dnizeticFri, 06 Apr 2012 05:54:47 -0500http://ask.sagemath.org/question/8863/Viewing Stereographic Projection of an Imagehttp://ask.sagemath.org/question/8824/viewing-stereographic-projection-of-an-image/I'm trying to write a program that takes an image and projects it onto a sphere that I can then view using 3dplot. I'm using pylab to read the image, numpy to put it into an array and then a stereographic projection to actually project it onto a sphere. I'm fairly certain the program is working correctly.
The problem I have is that 3dplot is not letting me view an image. The plot doesn't load. I tried the tachyon viewer, and I could get an image of my picture on a sphere, but I would prefer if I had the ability to rotate the sphere that 3dplot provides. Is there a better way to accomplish what I'm trying other than using pylab? I don't know much about other python imaging systems.
SeikishiSat, 24 Mar 2012 12:15:43 -0500http://ask.sagemath.org/question/8824/