MathGroup Archive 1999

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

Search the Archive

Re: Heip! How to draw a graph with log x axis.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17101] Re: Heip! How to draw a graph with log x axis.
  • From: Peter Beerli <beerli at genetics.washington.edu>
  • Date: Sat, 17 Apr 1999 03:35:02 -0400
  • Organization: University of Washington
  • References: <7f1alr$k6k@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

How to produce log-plots
I believe there is a graphics package to do that,
but I use this

ListPlot[Map[{Log[10,#[[1]]],#[[2]]}&,xydata]]

If you wnat ot have pretty values on the x axes use the 
Ticks option of ListPlot e.g.
Ticks->{{{-3,0.001},{-2,0.01},{-1,0.1}},Automatic}

Peter
-----------------------------------------------------------
Peter Beerli <beerli at genetics.washington.edu> 


On 14 Apr 1999, Kazuhiko Kato wrote:

> 
> Hello Group!
> 
> I would like to draw a graph with x-axis log and y-axis normal. I would
> appreciate if someone could tell me how.
> 
> Thank you.
> 
> --
> **************************************************
>   Kazuhiko Kato
>   e-mail: kato at cam.hi-ho.ne.jp
>   1-3-24 Hatsukadai, Heguri-Cho, Ikoma-Gun,
>   Nara 636-0934, Japan
> **************************************************
> 
> 
> 



  • Prev by Date: Re: Strange ReplaceRepeated
  • Next by Date: Re: interface between Mathematica and MS Word 7
  • Previous by thread: Re: Heip! How to draw a graph with log x axis.
  • Next by thread: Running MathCode C++ on NT