# Three Dimensional Rotations in Grapher

Discussion in 'Mac Apps and Mac App Store' started by adam912, Jun 6, 2010.

Joined:
Jun 6, 2010
#1
I have a piecewise function in Grapher that I would like to rotate about the y-axis. Right now, this is what I have inputted.

x=-10/y (y>-10)&(y<-1)
x=10 (y>-1)&(y<.2)
x=2/y (y>.2)&(y<3)

Is there a way that I can rotate this about the y-axis in 3 dimensions? Thanks!

2. ### lewis82 macrumors 68000

Joined:
Aug 26, 2009
Location:
Totalitarian Republic of Northlandia
#2
Go in this menu option. I don't know what it is in english but it should be at the same spot. It toggles the 2D/3D render modes.

#### Attached Files:

• ###### Capture décran 2010-06-06 à 16.03.24.png
File size:
252.1 KB
Views:
318

Joined:
Jun 6, 2010
#3
Right, I can view it in 3D, but the issue I'm having is actually rotating it about the y-axis, so that it creates a sort of chiseled-out cylinder.

4. ### lewis82 macrumors 68000

Joined:
Aug 26, 2009
Location:
Totalitarian Republic of Northlandia
#4
In that case just create a 3D equation, using Z=as the function, and X as the variable.

It should work. (At least it did with my y=x^2 vs z=x^2 example)

5. ### YB24 macrumors member

Joined:
Apr 3, 2007
Location:
Dordogne-France http://y.barois.free.fr/grapher/
#5
Grapher : surfaces de revolution

Attachment : two kind of 2D lines (A1 and B1) then 3D surfaces A2 and B2.
It's better to avoid lines parallel to axes in the 2D definition line as done in B1.
Is that what you wanted ?
Any question about Grapher by e-mail welcome.
Be well, YB24

File size:
223.6 KB
Views:
145