PLOTHIST and tick marks [message #48745] |
Fri, 19 May 2006 15:54  |
Kyle
Messages: 3 Registered: May 2006
|
Junior Member |
|
|
Whenever I use plothist, only the even numbered tick marks are labeled
- that is, bins for values of -2, 0, 2, 4, 6, etc., are labeled. I
want to change this behavior to include the odd numbers as well. How
might I do this?
|
|
|
Re: PLOTHIST and tick marks [message #48792 is a reply to message #48745] |
Thu, 25 May 2006 07:15  |
Jo Klein
Messages: 54 Registered: January 2006
|
Member |
|
|
Kyle wrote:
> Whenever I use plothist, only the even numbered tick marks are labeled
> - that is, bins for values of -2, 0, 2, 4, 6, etc., are labeled. I
> want to change this behavior to include the odd numbers as well. How
> might I do this?
Hi Kyle,
plothist essentially wraps plot for graphics output. You can pass on
graphics keywords to plot, e.g.
a=randomn(seed,200)
plothist,a,/autobin
... major ticks (with label) on even values
plothist,a,/autobin,xtickinterval=1
.. probably what you want
Cheers,
Jo
|
|
|