Re: simply problem (not for me) about axes scale
- To: mathgroup at smc.vnet.net
- Subject: [mg52967] Re: [mg52936] simply problem (not for me) about axes scale
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sat, 18 Dec 2004 03:59:40 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200412171019.FAA16083@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
Use AspectRatio -> Automatic, as in:
Plot[Exp[x], {x, 0, 1}, AspectRatio -> Automatic];
The default value of that option is 1/GoldenRatio (which gives
allegedly pleasing relative axis lengths).
To learn how to do such things, you should consult the Mathematica Book
in print or as part of the electronic Help system that is by default
installed with Mathematica. (Such options for Plot are discussed in
subsection 1.9.2.)
The general principle is that modifications to default behavior of a
function are typically provided by options, and you can discover all the
options for a function by using the Options function, which also shows
the default value for each option. Thus:
Options[Plot]
{AspectRatio -> 1/GoldenRatio, Axes -> Automatic,
AxesLabel -> None, AxesOrigin -> Automatic,
AxesStyle -> Automatic, Background -> Automatic,
ColorOutput -> Automatic, Compiled -> True,
DefaultColor -> Automatic, DefaultFont :>
$DefaultFont, DisplayFunction :> $DisplayFunction,
Epilog -> {}, FormatType :> $FormatType,
Frame -> False, FrameLabel -> None,
FrameStyle -> Automatic, FrameTicks -> Automatic,
GridLines -> None, ImageSize -> Automatic,
MaxBend -> 10., PlotDivision -> 30.,
PlotLabel -> None, PlotPoints -> 25,
PlotRange -> Automatic, PlotRegion -> Automatic,
PlotStyle -> Automatic, Prolog -> {},
RotateLabel -> True, TextStyle :> $TextStyle,
Ticks -> Automatic}
Alessandro M. wrote:
> Hi all
> I've a problem. I cannot find in the master index which is the built-in
> function that allow me to plot a curve with the same scale on the Y and
> X axes. I mean... I want the same subdivisions length on the X and Y
> axes on a 2D plot!
> Thank you for patience
>
>
--
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:
- simply problem (not for me) about axes scale
- From: "Alessandro M." <mazuego@virgilio.it>
- simply problem (not for me) about axes scale