Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Q: LogPlot Number format

  • To: mathgroup at
  • Subject: [mg35131] Re: [mg35105] Q: LogPlot Number format
  • From: BobHanlon at
  • Date: Tue, 25 Jun 2002 19:55:04 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 6/25/02 4:17:27 AM, scone4 at 

>i need to make a logplot with a different numberformat on the Y-Axis.
>Currently i have labels like (exponents are raised, thats ok, thats what
>want) :
>1. x 10^58 
>I need to adjust these labels, so they look like this
>means, substract 50 from the exponent and remove the leading 1. x
>Any hints?


lplt = LogPlot[10^(50+n), {n, 1, 5},

tck = (Ticks/.AbsoluteOptions[lplt]);

    Ticks -> {tck[[1]], tck[[2]] /.
          {y_/;Chop[y-Round[y]]\[Equal]0, _,m___} ->
            {y, "10"^(Round[y]-50), m}},

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: ConstrainedMin with negative variables
  • Next by Date: RSolve
  • Previous by thread: Q: LogPlot Number format
  • Next by thread: Re: Random bits (generation) Thanks