Non numerical x-axis in (Date)ListPlot?
- To: mathgroup at smc.vnet.net
- Subject: [mg78986] Non numerical x-axis in (Date)ListPlot?
- From: "Maarten van der Burgt" <maarten.vanderburgt at icos.be>
- Date: Sat, 14 Jul 2007 02:47:39 -0400 (EDT)
Dear all,
I have two sets of data:
dat1 = {{"A1",2},{"A2",3},{"A4",1}}
dat2 = {{"A1",2.2},{"A2",2.9},{"A3",0.5},{"A4",1.1}}
Is there a simple way I can plot these with the {"A1", "A2", "A3", "A4"} as
equidistant tick marks/labels along the horizontal axis and a standard
numerical vertical axis?
Note the missing "A3" in dat1.
I could not find anything in the options of ListPlot, or in the new (6.0)
DateListPlot.
Thanks for your help,
Maarten van der Burgt
Leuven, Belgium
- Follow-Ups:
- RE: Non numerical x-axis in (Date)ListPlot?
- From: "David Annetts" <davidannetts@aapt.net.au>
- RE: Non numerical x-axis in (Date)ListPlot?