MathGroup Archive 2004

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

Search the Archive

Re: how to plot with logarithmic scale on X-axis ?


Try this

<< Graphics`
ls = Table[{x, x}, {x, 0.1, 1000}];
LogLinearListPlot[ls, Ticks -> {{10, 100, 1000}, Automatic}]

However, this will not display the ticks at 10 on x-axis, as it will be
very close to the origin.


On Thu, 12 Feb 2004, Mostafa wrote:

> Hello,
>
> How I can plot a list of points or a function with lograrithmic scale on
> X-axis? I need to have equal spaces between ticks of 10, 100, 1000, etc.
>
> I have tried to use Ticks->{LogScale, Automatic} but that didn't help. As it
> only changes the ticks values not the distance between them
>
> Thank you
>
> Mostafa
>

-- 
    Regards,                                   Feb 13
    Ravi



         |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
         |           Ravinder Kumar Banyal (SRF),                |
         |          Indian Institute of Astrophysics,            |
         |           Koramangala Bangalore - 560 034. INDIA      |
         | email : banyal at iiap.ernet.in ;   ravi at crest.ernet.in  |
         | Ph No : 080 5530672 (IIA)       080 7931972 (Hoskote) |
         |                                     7931952           |
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All that is necessary for the triumph of evil is that enough good
men do nothing --Edmund Burke.


  • Prev by Date: Re: Maximum Problem
  • Next by Date: significant digits in random numbers in scientificform
  • Previous by thread: Re: how to plot with logarithmic scale on X-axis ?
  • Next by thread: Re: how to plot with logarithmic scale on X-axis ?