Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Plot axis numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56813] Re: [mg56748] Plot axis numbers
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Fri, 6 May 2005 03:01:21 -0400 (EDT)
  • References: <200505051001.GAA21946@smc.vnet.net>
  • Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Show[Graphics[
    First[FullGraphics@
          Block[{$DisplayFunction=Identity},
            Plot[Sin[0.2 x],{x,-10,10}]]]/.Text[0.5`,blah__]->
        Text["0.50",blah]],PlotRange->All]

or maybe

Show[Graphics[
    First[FullGraphics@
          Block[{$DisplayFunction=Identity},
            Plot[Sin[0.2 x],{x,-10,10}]]]/.Text[x_,blah__]:>
        Text[SetPrecision[x,2],blah]],PlotRange->All]

On 5/5/05, Torquil MacDonald Sørensen <torquil at frisurf.no> wrote:
> 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)
> 
> 


-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • References:
  • Prev by Date: Re: Plot axis numbers
  • Next by Date: Re: Controlled evaluation of functions
  • Previous by thread: Plot axis numbers
  • Next by thread: Re: Plot axis numbers