Re: ListLinePlot Labels
- To: mathgroup at smc.vnet.net
- Subject: [mg106986] Re: [mg106958] ListLinePlot Labels
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Sat, 30 Jan 2010 07:13:57 -0500 (EST)
- References: <201001291248.HAA29104@smc.vnet.net>
Hi, no hack. Just create your ticks or use a tick-function. data = Table[{i, RandomReal[]}, {i, 1, 12}]; ticks[min_, max_] := Table[{i, Rotate[#, Pi/2] &@ Style[DateString[DateList[{1990, i, 1, 0, 0, 0}], "MonthName"], Blue, FontFamily -> "Helvetica"]}, {i, Floor[min], Ceiling[max]}]; ListLinePlot[data, Ticks -> {ticks, Automatic}] Cheers Patrick PS: and AxesLabel is something different. Am Jan 29, 2010 um 1:48 PM schrieb Eddie Fonner: > I'm trying to create a ListLinePlot with custom labels on the x- > axis, i.e. "January, February..." instead of "1, 2..." > > The ChartLabels option doesn't seem to be compatible with > ListLinePlot. Do you guys have any other suggestions, or possibly a > way of hacking this with AxesLabel? >
- References:
- ListLinePlot Labels
- From: Eddie Fonner <efonner@armus.com>
- ListLinePlot Labels