From: s s on
hi there

the solution posted reverses the z axis. (that basically turns the object upside down in the plot. is that inversion in the plot only ?)

could there be a way to ensure that the object is still erect and the global co-ordinates or the z axis is reversed. that is to say, the object is erect but the z axis reads from top to bottom in increasing order ?

sharad
From: Rune Allnor on
On 23 Feb, 11:04, "s s" <sha...(a)care.iitd.ac.in> wrote:
> hi there
>
> the solution posted reverses the z axis.  (that basically turns the object upside down in the plot. is that inversion in the plot only ?)
>
> could there be a way to ensure that the object is still erect and the global co-ordinates or the z axis is reversed.  that is to say, the object is erect but the z axis reads from top to bottom in increasing order ?

Something like

plot3(x,y,-z)
set(gca,'zaxis','reverse')

might do the trick.

Rune
 | 
Pages: 1
Prev: Delay
Next: changing the co-ordinate system