The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with DateListPlot
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Luke Gower

Posts: 3
From: Australia
Registered: 1/14/13
Problem with DateListPlot
Posted: Jan 14, 2013 11:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.