Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Re: Graphics3D axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66680] Re: [mg66655] Re: Graphics3D axes
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 27 May 2006 03:50:59 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <e53lad$3sh$1@smc.vnet.net> <200605260817.EAA01734@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

I don't think your suggested tweaking actually accomplishes what the 
query asked.  It merely moves the axes origin to the rear, left, bottom 
corner of the plotted surface.  Thus it accomplishes the purpose only if 
the entire surface is in the first octant.  You can see this most 
clearly if you change the x- and y- plot ranges to:

   {x, -Pi, Pi}, {y, -2Pi, 2Pi}

The entire plotted surface is still in front of the xz- and yz- planes.

Jean-Marc Gulliet wrote:
> 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
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Clearing a symbol known only through a definition
  • Next by Date: Re: Clearing a symbol known only through a definition
  • Previous by thread: Re: Re: Graphics3D axes
  • Next by thread: RE: Graphics3D axes