Re: Plot axis numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg56781] Re: [mg56748] Plot axis numbers
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 6 May 2005 02:59:49 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Modify the automatic Ticks Show[plt = Plot[x, {x, 0, 1.9}, DisplayFunction -> Identity], DisplayFunction -> $DisplayFunction, Ticks -> {Automatic, ((Ticks /. AbsoluteOptions[plt, Ticks]) /. {y_?NumberQ, yl_?NumberQ, r__} :> {y, PaddedForm[yl, {3, 2}], r})[[2]]}]; Bob Hanlon > > From: Torquil MacDonald Sørensen <torquil at frisurf.no> To: mathgroup at smc.vnet.net > Date: 2005/05/05 Thu AM 06:01:30 EDT > Subject: [mg56781] [mg56748] Plot axis numbers > > Greetings! > > In short: > How can I ensure that all numbers on the plot axes have the same number > of digits? > > If e.g. the y-axis in a plot goes from 0 to 1 in steps of 0.25, then the > axis numbers will be e.g 0.25 and 0.5. I want this to be 0.25 and > 0.50. Any suggestions other than manually adjusting the numbers with the > FrameTicks option? > > - T.M.Sørensen > (Mathematica 5) > >