Re: Simple but puzzling plotting question
- To: mathgroup at smc.vnet.net
- Subject: [mg78623] Re: [mg78574] Simple but puzzling plotting question
- From: DrMajorBob <drmajorbob at bigfoot.com>
- Date: Thu, 5 Jul 2007 04:13:51 -0400 (EDT)
- References: <8050363.1183544514456.JavaMail.root@m35>
- Reply-to: drmajorbob at bigfoot.com
Here's an example from Help for DateListPlot: 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}, Joined -> True] The same sort of thing works for ListPlot, too. Bobby On Wed, 04 Jul 2007 04:43:38 -0500, ouadad <desmier.pe at forces.gc.ca> wrote: > I simply want to plot three currency daily exchange rates, USD, GBP and > EURO, from April 1, 1990 to March 31, 2006. The problem is the EURO. > Since it only came into existence on 01 January 1999, I don't have data > going as far back as 1990. Therefore, for the Euro column, all entries > for the period April 1, 1990 to December 31, 1998 are blank. > Unfortunately, this causes a partw error in Mathematica. Does anyone > know how to plot different sized datasets on the same graph? > > -- DrMajorBob at bigfoot.com