Ask Your Question

transforming 2D plots to the surface of a sphere

asked 2011-07-20 17:48:57 -0500

araichev gravatar image

Hi there Sagers:

I'm trying to use a cartographic projection $f:\mathbb{R}^2\to S^2\subset\mathbb{R}^3$ to map Sage 2D graphics objects onto the sphere $S^2$. Projecting points is easy, but how can i project polygons or function plots? Do i somehow grab the graphics object points and use point3d and $f$?

Thanks for your attention. Alex

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-07-22 02:48:21 -0500

niles gravatar image

I don't think there's a way to do this just from the 2D graphics objects. Probably the most straightforward resolution would be to modify the way you're producing the 2D objects, to have them output 3D coordinates directly.

There has been some related work implementing Cylindrical and Spherical coordinates for 3D function plots, which might give you some other ideas too (although they were a little counterintuitive to me at first).

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


Asked: 2011-07-20 17:48:57 -0500

Seen: 474 times

Last updated: Jul 22 '11