MathGroup Archive 2006

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

Search the Archive

RE: Reordering limits for Plot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67230] RE: [mg67199] Reordering limits for Plot3D
  • From: "David Park" <djmp at earthlink.net>
  • Date: Tue, 13 Jun 2006 01:07:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Yes, Mathematica orders the plot iterator limits so they always go from
minimum to maximum.

If one wants the axis directions reversed, it can be done in the following
way using the CustomTicks function from DrawGraphics.

Needs["DrawGraphics`DrawingMaster`"]

x y^2 /. {x -> 5 - u, y -> 8 - v};
Plot3D[%, {u, 1, 4}, {v, 0, 8},
    Ticks -> {CustomTicks[5 - # &, {4, 1, -1, 5}],
        CustomTicks[8 - # &, {8, 0, -2, 5}], Automatic},
    AxesLabel -> {x, y, z}];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Ken Levasseur [mailto:klevasseur at mac.com]
To: mathgroup at smc.vnet.net


One of my students just noticed that the plots generated from

Plot3D[x y^2, {x, 4, 1}, {y, 8, 0}]
and
Plot3D[x y^2, {x, 1, 4}, {y, 0, 8}]

are identical.  In general, how does Plot3D handle the iterators that
define the plotting domain?

Ken Levasseur
UMass Lowell



  • Prev by Date: Determining continuity of regions/curves from inequalities
  • Next by Date: new slide template: how change?
  • Previous by thread: Re: Reordering limits for Plot3D
  • Next by thread: Re: Reordering limits for Plot3D