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

MathGroup Archive 2009

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

Search the Archive

Re: Logarithmic Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96502] Re: Logarithmic Plot
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sun, 15 Feb 2009 03:19:23 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <gmu8ma$ghu$1@smc.vnet.net> <gn11hj$82r$1@smc.vnet.net> <gn5uhn$h12$1@smc.vnet.net>

In article <gn5uhn$h12$1 at smc.vnet.net>,
 "Drago Ganic" <dganic at vodatel.net> wrote:

> Hi Jean-Marc ,
> I think there is a slight error in your comments. I have corrected them 
> here:
> 
> ListPlot[data]              (*regular x,regular y*)
> ListLogPlot[data]         (*regular x, log y*)
> ListLogLinearPlot[data] (*log x,  regular y*)
> ListLogLogPlot[data]    (*log x,log y*)
> 
> 
> Greetings,
> Drago

Well spotted, Drago! Thank you for having fixed my comments that now 
appear in the correct order.

Best regards,
--Jean-Marc

> "Jean-Marc Gulliet" <jeanmarc.gulliet at gmail.com> wrote in message 
> news:gn11hj$82r$1 at smc.vnet.net...
> > In article <gmu8ma$ghu$1 at smc.vnet.net>,
> > Ben Casey <ben.a.casey at gmail.com> wrote:
> >
> >> Hi, I could use some help.  Basically I have imported a set of data 
> >> points
> >> (concentration of compound vs. time) and plotted it in Mathematica.  Part 
> >> of
> >> my assignment now is to post the Log[concentration] vs. time.  Is there 
> >> an
> >> easy command to do this in Mathematica?  I've played around and looked in 
> >> the
> >> doc center but the only way I can figure to do it is manually calculate 
> >> the
> >> values and then plot them.  There must be a better way.
> >
> > The function you are looking for is called *ListLogLinearPlot* (at least
> > in Mathematica 6.xx and above). It belongs to a whole family of
> > functions designed to automatically convert the x-, y-, or both, data to
> > logarithmic scales. (Note that w/o the List prefix, the same plotting
> > functions exist for drawing expressions.) For instance,
> >
> >    data = Table[{n, Sqrt[n]}, {n, 100}];
> >
> >    ListPlot[data]           (* regular x, regular y *)
> >    ListLogPlot[data]        (* log x, regular y *)
> >    ListLogLinearPlot[data]  (* regular x, log y *)
> >    ListLogLogPlot[data]     (* log x, log y *)
> >
> > Regards,
> > --Jean-Marc
> >


  • Prev by Date: Re: Benchmark performance Under AIX
  • Next by Date: Re: Re: New free introductory book on Mathematica
  • Previous by thread: Re: Logarithmic Plot
  • Next by thread: Re: Logarithmic Plot