MathGroup Archive 2013

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

Search the Archive

Problem with DateListPlot

  • To: mathgroup at
  • Subject: [mg129447] Problem with DateListPlot
  • From: Luke Gower <lgower at>
  • Date: Mon, 14 Jan 2013 23:29:24 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Hi folks. This should be really easy, but it is eluding me. Consider the following points and graphic.


The plot consists of one diagonal and one horizontal set of points. My problem is that, in the graphic, I would like to join pairs: y[[1]] and y[[2]]; y[[3]] and y[[4]]. An obvious (if ugly) hack is as follows:

DateListPlot[{x, z[[1]], z[[2]]}, Joined -> Join[{False}, Table[True, {Length[z]}]], PlotRange -> {0, 12}]

Unfortunately, in the real version of this problem, the length of y is variable, so I need a solution in terms of y, which does not involve manually entering parts of z.

And that is where I get stuck.

Any suggestions?
Many thanks indeed.

  • Prev by Date: Re: NSolve output
  • Next by Date: Re: Making a palette to control dynamic variables?
  • Previous by thread: Re: bad PDE solution...
  • Next by thread: Re: Problem with DateListPlot