Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Frameticks and ListLogLinearPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124000] Frameticks and ListLogLinearPlot
  • From: Luigi B <l.balzano at gmail.com>
  • Date: Wed, 4 Jan 2012 05:06:15 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Dear all,
 I have the problem of adding ticks to a ListLogLinearPlot.
I use the code:

data = {{10^(-6), 72}, {10^(-5), 60}, {10^(-4), 45}, {10^(-3),
     31}, {10^(-2), 33}, {10^(-1), 32}};


ListLogLinearPlot[data, Frame ->  True,
  FrameTicks ->  {Table[{10^-n,
      ScientificForm[1.*10^(-n), NumberFormat ->  (10^#3&)]}, {n,
-1,6}],
    Automatic, Automatic, None}, PlotRange ->  {0, 100}]


this works well as long as the mantissa of the tick is different than
0. However, when this happens it does not work any more.

Could you pls help me out? Or suggest another code to do the same?

Thanks, Luigi



  • Prev by Date: maximal information coefficient in Mathematica
  • Next by Date: Re: Is this a bug in the Adjacency Matrix function? Using 8.9.4.0
  • Previous by thread: maximal information coefficient in Mathematica
  • Next by thread: Re: Frameticks and ListLogLinearPlot