2
$\begingroup$

This question likely has a straightforward answer. Suppose I have a plot something like this:

ListPlot3D[Table[RandomInteger[10], {5}, {20}], 
  InterpolationOrder-> 0, Filling -> Bottom,
  FillingStyle -> Opacity[0.5], Mesh -> None,
  ColorFunction -> (ColorData[{"TemperatureMap", "Reverse"}][#2] &)]

enter image description here

I would like the $y$-axis labels to be Monday, Tuesday, Wednesday, Thursday, Friday rather than {1,2,3,4,5}. But the $x$- and $z$-axes labels can remain with their numerical values.

$\endgroup$
5
$\begingroup$
ListPlot3D[Table[RandomInteger[10], {5}, {20}], 
 InterpolationOrder -> 0, Filling -> Bottom, 
 FillingStyle -> Opacity[0.5], Mesh -> None, 
 ColorFunction -> (ColorData[{"TemperatureMap", "Reverse"}][#2] &),
 Ticks -> {Automatic, {{1, "Monday"}, {2, "Tuesday"}, {3, "Wednesday"},
    {4, "Thursday"}, {5, "Friday"}}, Automatic}]

enter image description here

$\endgroup$
  • $\begingroup$ Thank you! And my apologies for not knowing about this. $\endgroup$ – Joseph O'Rourke Apr 18 '15 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.