MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Graphics3D axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66655] Re: Graphics3D axes
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Fri, 26 May 2006 04:17:08 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <e53lad$3sh$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Laura wrote:
> This must be a common query but I haven't been able to find the answer:
> 
> For plotting 3D graphics (plot3D or Graphics3D), how do you get the 
> standard axes: (1,0,0), (0,1,0), (0,0,1)? I've tried all sorts of options 
> from AxesEdges to changing Views. Basically, I'd like my 3D plots to appear 
> with the axes set at the origin.
> 
>               z    
>                |
>        (0,0,0) |______ y
>               / 
>             /
>            x
> 
> Thank you for any pointers.
>  
> 
Hi Laura,

First, select a suitable view point by setting the option ViewPoint 
(also accessible via the menu Input => "3D ViewPoint Selector...", 
shift+ctrl+V on MS Windows).

Then, tweak the values of the option AxesEdge. Finally, remove the frame 
box if you wish.

For example:

Plot3D[Sin[x]^2*Cos[y^2], {x, 0, Pi}, {y, 0, 2*Pi},
    AxesEdge -> {{-1, -1}, {-1, -1}, {-1, -1}}, Boxed -> False,
    ViewPoint -> {3.11, 1.171, 1.225}, ImageSize -> 400];

Best regards,
Jean-Marc


  • Prev by Date: Clearing a symbol known only through a definition
  • Next by Date: Re: M100: An Introduction To Mathematica
  • Previous by thread: Graphics3D axes
  • Next by thread: Re: Re: Graphics3D axes