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: 2D/3D plots scaled to unit of dimension

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66119] Re: [mg66089] 2D/3D plots scaled to unit of dimension
  • From: ggroup at sarj.ca
  • Date: Sun, 30 Apr 2006 04:21:13 -0400 (EDT)
  • References: <200604290740.DAA23424@smc.vnet.net>
  • Reply-to: ggroup at sarj.ca
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Xiangdong,

Use the option: AspectRatio->Automatic
The default AspectRatio is set to 1/GoldenRatio.

Eg:  Plot[Sin[x],{x,0,10}, AspectRatio->Automatic]

On Saturday, April 29, 2006 at 3:40 AM, Xiangdong Liu wrote:

> I am making 2D and 3D plots that depicts geographic events.  The units in
> each dimension x, y, and z are the same, say meters.  A plot may show 10
> unis in one dimension and 2 units in another.  When I make the plot,
> Mathematica chooses its automatic aspect ratio.  The result is such that
> a unit in the dimension with 3 units shown to be longer than a unit in the
> dimension with 10 units.  Of course I can change the aspect ratio to be 3/10
> (or 10/3 depending on which dimension has more units of content).

> My question is if I can make Mathematica plot with an aspect ratio that
> preserves the unit of length in all dimensions, automatically.  If such
> setting exists, will it be different for 3D plots?

> As an specific example, let's say I want to plot the following:

> Plot[Sin[x], {x, 0, 10}];

> How do I make Mathematica preserve the unit of length by displaying the
> plot with the 1/5 aspect ratio automatically?

> Thanks!




  • Prev by Date: Re: 2D/3D plots scaled to unit of dimension
  • Next by Date: Re: Why D[x', x] isn't 0 ?
  • Previous by thread: 2D/3D plots scaled to unit of dimension
  • Next by thread: "In progress" saving of data collected using Reap/Sow