comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » PLOTHIST and tick marks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
PLOTHIST and tick marks [message #48745] Fri, 19 May 2006 15:54 Go to next message
Kyle is currently offline  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 Go to previous message
Jo Klein is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Create new arrays from series of subsequent integers in an existing array
Next Topic: Re: GDL and plplot in FC5

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:44:20 PDT 2025

Total time taken to generate the page: 0.00514 seconds