Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Aspect Ratio question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81342] Re: Aspect Ratio question
  • From: "Kevin J. McCann" <kjm at KevinMcCann.com>
  • Date: Thu, 20 Sep 2007 03:44:05 -0400 (EDT)
  • References: <fcnlri$sf1$1@smc.vnet.net>

This depends a bit on the Mathematica version you are using

Try each of these and compare:

Show[Graphics[Circle[{1, 2}, 2]]

Show[Graphics[Circle[{1, 2}, 2], AspectRatio -> 1,Axes -> True]]

Show[Graphics[Circle[{1, 2}, 2], AspectRatio -> 2,Axes -> True]]

Show[Graphics[Circle[{1, 2}, 2], AspectRatio -> 1/2,Axes -> True]]

Show[Graphics[Circle[{1, 2}, 2], AspectRatio -> GoldenRatio,Axes -> True]]


In Version 6, the first two will produce a circle. In version 5.2, the 
first and the last will produce ellipses that are the same, and the 
second will produce a circle. This difference between versions occurs 
because the Default behavior was changed in version 6.

Kevin

Steven Siew wrote:
> I'm really confused about the steps needed to calculate an Aspect
> Ratio for 2D ploting in mathematica.
> 
> What I want is to plot a circle as a circle on the monitor and not as
> an ellipse.
> 
> My monitor has a physical aspect ratio of  16:10 (aka widescreen
> monitor).
> 
> My monitor has the resolution of  1280 X 800 pixels.
> 
> What should I set the aspect ratio parameter to in Plot[] ?
> 
> 


  • Prev by Date: Re: MachinePrecission and FPU
  • Next by Date: Re: confusion about Mathematica Print, Messages,
  • Previous by thread: Re: Aspect Ratio question
  • Next by thread: MachinePrecission and FPU