MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Changing Ticks to Rationals


On 9/25/05 at 5:45 AM, kristophs.post at web.de (kristoph) wrote:

>Is it possible to change the ticks in an Histogram to rationals?
>For example: Changing 2.5 to 5/2 and so on. Thanks for help.

Yes, just use the FrameTicks option. For example,

In[1]:=
data = Table[2.5*Random[], {100}]; 
In[2]:=
Histogram[data, Frame -> True, Axes -> None, 
   FrameTicks -> {Range[5]/2, Automatic, None, None}]; 
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Changing Ticks to Rationals
  • Next by Date: Re: Changing Ticks to Rationals
  • Previous by thread: Re: Changing Ticks to Rationals
  • Next by thread: Re: Changing Ticks to Rationals