MathGroup Archive 1999

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

Search the Archive

Re: plotting time data

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18994] Re: [mg18962] plotting time data
  • From: "David Park" <djmp at earthlink.net>
  • Date: Tue, 3 Aug 1999 13:44:37 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

James,

First, does your data come paired with the time values, or as a single list where the
time values are implied? In the first case ListPlot should put on the time values
correctly. In the second case you can create a paired list by
Transpose[timevalues,datavalues] where you first create the list of time values. Then
ListPlot should work. You may also want to use the Ticks option in ListPlot to make
the time axes look just the way you want. See Section 2.9.5 in the Mathematica Book.

Also Ruskeepkaa has a good example of this kind of plot in his Mathematica Navigator
book, Section 9.1.2.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/


>I would like to plot some time data where I have the dates and/or times on
>the horizontal axis and the data on the vericle axis.  What software would
>I have to get inorder to plot this data over time. The data should be
>plotted as points with a line joining the points. Getting the horizontal to
>be labeled with the time and/or date is the trouble . I could use ListPlot
>otherwise.
>
>Thanks
>James
>




  • Prev by Date: Mathematica profiler?
  • Next by Date: Re: loading combinatorica
  • Previous by thread: Re: Mathematica profiler?
  • Next by thread: Re: plotting time data