Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: Scientific Notation in ListPlot Axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47368] Re: Scientific Notation in ListPlot Axes
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 7 Apr 2004 03:16:26 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <c4u20u$9ak$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

gr = LogLinearListPlot[data, 
    Ticks -> {({#, ScientificForm[N[#]]} & /@ {10^-6, 10^-5, 10^-4, 
              10^-3, 10^-2, 10^-1}), Automatic}, PlotRange -> {0, 100}];

Regards
  Jens

Patrick Spicer wrote:
> 
> Hi,
> 
> I apologize up front for posting a seemingly FAQ...but I searched the
> archives and did not find what I need.
> 
> How can I format the axis of a LogLinearListPlot to display tick
> labels as scientific notation without the "1 x " portion?  In other
> words, I'd just like to display the base 10 and superscript exponent.
> Here is an example of a plot whose x-axis I'd like to label in this
> way:
> 
> data = {{10^-6,72},{10^-5,60},{10^-4,45},{10^-3,31},{10^-2,33},{10^-1,32}}
> << Graphics`Graphics`
> LogLinearListPlot[data,
> Ticks->{{10^-6,10^-5,10^-4,10^-3,10^-2,10^-1},Automatic},
> PlotRange->{0, 100}]
> 
> Many thanks in advance for your help.
> 
> Best regards,
> 
> Pat


  • Prev by Date: Re: Assigning elements to a matrix
  • Next by Date: Re: Assigning elements to a matrix
  • Previous by thread: Re: Scientific Notation in ListPlot Axes
  • Next by thread: RE: Scientific Notation in ListPlot Axes