MathGroup Archive 2005

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

Search the Archive

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


  • 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