MathGroup Archive 2007

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

Search the Archive

Re: frameticks and LogScale

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80035] Re: frameticks and LogScale
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sat, 11 Aug 2007 02:05:58 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <f9hfrb$fhj$1@smc.vnet.net>

Arkadiusz.Majka at gmail.com wrote:
> Hi,
> 
> How can I force Mathematica6 to use logscale on x-axis.
> 
> This does not work:
> 
> ListPlot[data, Frame -> True, Joined -> True, Mesh -> Full,
>  PlotRange -> All, Axes -> None,
>  FrameTicks -> {LogScale, Automatic, None, None}]
> 
> 
> Everything used to work in Mathematica5.2 - what happened with
> LogScale in v6 ?

You can still access the options by loading the Graphics`Graphics` 
package as you had to do in the previous version.

Off[General::obspkg]; Off[General::newpkg]; (* Turn off the obsolescence 
messages *)
Needs["Graphics`Graphics`"]
data = RandomReal[{0, 10^6}, {10}];
ListPlot[data, Frame -> True, Joined -> True, Mesh -> Full,
    PlotRange -> All, Axes -> None, FrameTicks ->
      {LogScale, Automatic, None, None}]

-- 
Jean-Marc


  • Prev by Date: Manipulate/Locator bug
  • Next by Date: Indexed element treated as number?
  • Previous by thread: Re: frameticks and LogScale
  • Next by thread: what am i doing wrong