Re: How can I make the vertical axes grow down and not up?
- To: mathgroup@smc.vnet.net
- Subject: [mg11729] Re: How can I make the vertical axes grow down and not up?
- From: jtischer@pitagoras.univalle.edu.co
- Date: Thu, 26 Mar 1998 03:08:57 -0500
- Organization: Deja News - The Leader in Internet Discussion
- References: <6f1sac$fll@smc.vnet.net>
In article <6f1sac$fll@smc.vnet.net>, Fernando Marcos Santana Barreto <barreto@fec.unicamp.br> wrote: > > I have a problem: > > I need plot a grafhic in 3D but in my reference system the Z axes grow > down , > not up and I don't know hom can I do for Inverse the judgement of the z > axes, how is this figure aloud? > > ----------> > | > | > | > | > \ / > . > > Thank You > > Fernando > > Hola Fernando, how about this?: Plot3D[-3 Sin[x y^2], {x, -1, 1}, {y, -2, 2}, Ticks -> {Automatic, Automatic, Table[{ti, -ti}, {ti, Floor[#2], Floor[#1], -2}]&}, ViewPoint -> {1.300, -2.400, -2.000}] I put the minus so my function is "growing downwards", changed the Viewpoint (just -2.000 instead of the default 2.000 for the z coordenate) so one looks from below, and finally used a homemade "tick mark function" (see Mathematica Book p. 494) to invert the sign of the z-axis. Jurgen -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading