Re: Plotting Points
- To: mathgroup at smc.vnet.net
- Subject: [mg16697] Re: [mg16641] Plotting Points
- From: BobHanlon at aol.com
- Date: Sat, 20 Mar 1999 02:09:05 -0500
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 3/19/99 8:32:03 PM, emcbride at wybron.com writes:
>I have a bunch of points I want to plot, and am using ListPlot. I'm
>willing to let Mathematica determine where the axes cross, but I need
>the x and y scales to be the same, so that distances on the plot are
>relatively correct. Is there a way to force Mathematica to make both
>scales the same? Thanks,
>
Ed,
?AspectRatio
"AspectRatio is an option for Show and related functions which specifies the \
ratio of height to width for a plot."
data = Sort[Table[{x=Random[], 1.5x+5}, {50}]];
ListPlot[data];
ListPlot[data, AspectRatio -> 1];
Bob Hanlon