Re: Easy way to 're-order' the axes in Plot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg70140] Re: Easy way to 're-order' the axes in Plot3D
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Thu, 5 Oct 2006 03:32:44 -0400 (EDT)
- Organization: Uni Leipzig
- References: <eg01ul$7uv$1@smc.vnet.net>
Hi,
gr = Graphics3D[Plot3D[Sin[x*y], {x, 0, Pi}, {y,
0, Pi}]]
Show[gr /. Polygon[pnts_] :> Polygon[{{1, 0, 0},
{0, -1, 0}, {0, 0, 1}}.# & /@ pnts]
]
will mirror the y-axes.
Regards
Jens
"passwd9" <david at carter-hitchin.clara.co.uk>
schrieb im Newsbeitrag
news:eg01ul$7uv$1 at smc.vnet.net...
| Hi,
|
| I've got this nice Plot3D surface, but
unfortunately I want one of the
| axes to run from 200 to 1, instead of the
natural 1 to 200. I've tried
| {S, 200, 1} instead of {S, 1, 200}, but that
didn't work. The
| function is quite involved and I'd rather not
change it.
|
| Effectively what I want to do is to mirror the
whole surface in a
| vertical plane.
|
| Can anyone help me and think of a [hopefully
simple] way to do this?
|
| Many thanks,
| David.
|