Re: Aspect Ratio question
- To: mathgroup at smc.vnet.net
- Subject: [mg81306] Re: [mg81278] Aspect Ratio question
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Wed, 19 Sep 2007 05:18:06 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200709180442.AAA28804@smc.vnet.net>
- Reply-to: murray at math.umass.edu
If you're really using Plot, then set AspectRatio->Automatic, e.g.:
Plot[Sqrt[1 - x^2], {x, -1, 1}, AspectRatio -> Automatic]
If, though, you're using ParametricPlot, then Automatic is the default
value for option AspectRatio and you don't need to set it yourself. For
example:
ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 2 Pi}]
Don't even think about the physical characteristics of your display device!
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[] ?
>
>
--
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
- References:
- Aspect Ratio question
- From: Steven Siew <siewsk@bp.com>
- Aspect Ratio question