MathGroup Archive 2010

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

Search the Archive

Re: ListLinePlot Labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106984] Re: ListLinePlot Labels
  • From: "Chris Degnen" <degnen at cwgsy.net>
  • Date: Sat, 30 Jan 2010 07:13:35 -0500 (EST)
  • References: <hjulen$sda$1@smc.vnet.net>

You could try this:

(* Adapting the documented ListLinePlot example *)
Print[ListLinePlot[Prime[Range[16]], Filling -> Axis]];
x = Range[16];
y = Prime[x];
x2 = {2010, #, 1} & /@ x;
Print[DateListPlot[Transpose[{x2, y}],
Joined -> True, Filling -> Axis,
DateTicksFormat -> "MonthNameShort"]];


> 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?
>


  • Prev by Date: Re: ListLinePlot Labels
  • Next by Date: Re: ListLinePlot Labels
  • Previous by thread: Re: ListLinePlot Labels
  • Next by thread: Re: ListLinePlot Labels