You can do something like plot(x=1:12,y=rand(5), Guide.xticks(ticks=[1:12]), Scale.x_discrete(labels= Dates.monthname))
The label argument takes in a function that outputs a label. Alternatively, you can provide the set x to be the dates (either strings or DateTime type) directly: x = [Dates.monthname(i) for i in 1:12] plot(x = x, y = rand(5), Guide.xticks(ticks=[1:12])) On Wednesday, February 4, 2015 at 2:00:33 AM UTC-8, [email protected] wrote: > > Given this simple graph: > > plot(x=1:12,y=rand(5), Guide.xticks(ticks=[1:12])) > > where the 12 values correspond to the months January through December. > > Instead of seeing 1 ..12 along the x-axis, I'd like to see the month > names. Is this possible? >
