Graph, tick marks
Posted: Thu May 02, 2013 5:47 am
I’m plotting a histogram of a variable which has the only 3 admissible values: 0, 1 or 2. When I plot the histogram, however, it uses a x-axis with ticks of 0, 0.1, 0.2, ..... etc
Consistent with the categorical data, I just want tick marks in the graph of 0,1,2. I thought this would be easy to implement, but I can't quite manage.
Can anyone help? Thanks.
Consistent with the categorical data, I just want tick marks in the graph of 0,1,2. I thought this would be easy to implement, but I can't quite manage.
Can anyone help? Thanks.