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 2006

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

Search the Archive

RE: [heur] Scientific Notation on Y-axis of ListPlots

  • To: mathgroup at
  • Subject: [mg68624] RE: [heur] [mg68594] Scientific Notation on Y-axis of ListPlots
  • From: "Jaccard Florian" <Florian.Jaccard at>
  • Date: Sun, 13 Aug 2006 05:52:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hello !

Yes, there is.
For example :

data = Table[Random[Real, {-1.5/10^5, 5/10^6}], {20}]

des = ListPlot[data]; 

Clear[a, b, c, d]

tic = (Ticks /. AbsoluteOptions[des])[[2]]

tic2 = tic /. {(a_)?NumericQ, (b_)?NumericQ, c_, d_} -> 
     {a, ScientificForm[b], c, d}; 

ListPlot[data, Ticks -> {Automatic, tic2}]


Florian Jaccard
florian.jaccard at

-----Message d'origine-----
De : Joshua Feinberg [mailto:jfei05 at] 
Envoyé : vendredi, 11. août 2006 10:40
À : mathgroup at
Objet : [heur] [mg68594] Scientific Notation on Y-axis of ListPlots

Dear All,

  I am plotting data points with y-values between -1.5x10^-5 and
5x10^-6.  Mathematica labels the lowermost y-axis tick as "-0.000015"
and the uppermost y-axis tick at "5 x 10^-5".  Is there any way to ask
Mathematica to label all of the y-axis ticks using only scientific
notation (rather than a mixture of scientific notation and decimal

Thanks in advance for any help you can offer.

Joshua Feinberg

  • Prev by Date: Re: a Quaternion quadratic level Pisot polynomial
  • Next by Date: Re: Cannot solve 3x3 Eigensystem
  • Previous by thread: Bayesian Networks, Conditional Probability
  • Next by thread: RE: RE: [heur] Scientific Notation on Y-axis of ListPlots