MathGroup Archive 2010

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

Search the Archive

Re: ListLinePlot Labels


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