Re: Precise control of horizontal ticks with BarChart?
- To: mathgroup at smc.vnet.net
- Subject: [mg104598] Re: Precise control of horizontal ticks with BarChart?
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Wed, 4 Nov 2009 01:40:00 -0500 (EST)
On 11/3/09 at 2:54 AM, szhorvat at gmail.com (Szabolcs Horv=C3=A1t) wrote: >I would like to create a histogram-like plot. I already have the >frequency data, so I don't need to use the Histogram function >itself. >What is the easiest way to do this? Here is one way that seems simple to me. data = Tally[RandomInteger[{1, 10}, 100]]; ListPlot[data, Epilog -> {Blue, Thickness[.05], Line[data /. {a_, b_} :> {{a, 0}, {a, b}}]}, Frame -> True, PlotRange -> {-.5, 20}, Axes -> None]
- Follow-Ups:
- Re: Re: Precise control of horizontal ticks with BarChart?
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Re: Precise control of horizontal ticks with BarChart?