MathGroup Archive 2008

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

Search the Archive

Re: PLot3 function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85021] Re: [mg85002] PLot3 function
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 24 Jan 2008 04:43:36 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200801220658.BAA13448@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Presumably you are using Plot3D (or a related function). Here are 
several ways:

1. Mouse over the graphic; the cursor becomes a pair of curved arrows. 
Click and drag the mouse around to rotate.

2. Make some normally fixed plotting option that determines the 
orientation variable, and wrap the whole thing in a Manipulate to 
control that variable.  For example:

    Manipulate[
      Plot3D[x^2-y^2, {x,-1,1}, {y,-1,1},
        ViewPoint -> {1.3, yy, 2}],
     {yy, -3, 3}]

3. Again use Manipulate, but this time let the parameter be a variable 
argument to a Rotate or other geometric transformation function, e.g.:

    g = Plot3D[x^2-y^2, {x,-1,1}, {y,-1,1}];
    Manipulate[
      Graphics3D[
        Rotate[First@g, angle, {0, 0, 1}]
      ],
      {angle,0,2Pi}]


kingpin at freemail.it wrote:
> Hi,
> 
> i have plotted a function of two variables with Mathematica. The
> output is a static graph.
> I would like to rotate it in order to have a better view of the graph.
> How can this be done?
> Thank you
> 

-- 
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: Sticky Animations Anyone?
  • Next by Date: RE: PLot3 function
  • Previous by thread: PLot3 function
  • Next by thread: RE: PLot3 function