Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

PlotLegend-> and DateListPlot[]...incompatible or broken?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110778] PlotLegend-> and DateListPlot[]...incompatible or broken?
  • From: divisor <congruentialuminaire at yahoo.com>
  • Date: Mon, 5 Jul 2010 21:14:56 -0400 (EDT)

Hello MathGroup:

I have this exceeding simple test case from the supplied Documentation
Center (I added PlotLegend):

Needs["PlotLegends`"]

data1 = {{{2006, 10, 1}, 10}, {{2006, 10, 15}, 12}, {{2006, 10, 30},
15}, {{2006, 11, 20}, 20}};
data2 = {{{2006, 10, 5}, 15}, {{2006, 10, 20}, 8}, {{2006, 11, 10},
5}, {{2006, 11, 15}, 1}};

DateListPlot[{data1, data2}
 , PlotLegend -> {"sine", "cosine"}
 , Joined -> True]

It burps out lots of error messages (mostly about PadRight and Table)
and does not print the legend.

This simple example works with ListPlot[] and other plotting
functions. Any help on this is greatly appreciated.

$Version=7.0 for Microsoft Windows (64-bit) (February 18, 2009)

Regards..

Roger Williams
Franklin Laboratory


  • Prev by Date: Re: a 4d algebraic geometry problem
  • Next by Date: Copying and Pasting from a Grid with Dividers
  • Previous by thread: Re: Change Default Button Method
  • Next by thread: Re: PlotLegend-> and DateListPlot[]...incompatible or broken?