Re: Changing Ticks to Rationals
- To: mathgroup at smc.vnet.net
- Subject: [mg60732] Re: Changing Ticks to Rationals
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Mon, 26 Sep 2005 01:36:09 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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