Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Bar graph
Nick Cox <email@example.com>
Re: st: Bar graph
Tue, 4 Jun 2013 19:15:35 +0100
By the way, I think it's fairly crazy to use O deg Fahrenheit as the
base of a bar chart, a point I have made previously to StataCorp. 32
deg F perhaps, or even better just use -graph dot-.
(Reminder for people in most countries of the world: use of Fahrenheit
temperatures is in practice largely confined to the USA.)
On 4 June 2013 19:09, Friedrich Huebler <firstname.lastname@example.org> wrote:
> The graph in my example can be used to support Nick's arguments
> against such representations of data. The difference between January
> and July temperatures is more obvious in the original graph on the
> Stata website.
> On Tue, Jun 4, 2013 at 11:00 AM, Friedrich Huebler <email@example.com> wrote:
>> You can start with the examples on the Stata website.
>> Let's modify the second graph to draw the data like in the first graph.
>> . webuse citytemp
>> . replace tempjan = -1 * tempjan
>> . collapse tempjan tempjuly, by(region)
>> . twoway bar tempjan region, horizontal || bar tempjuly region,
>> horizontal ylabel(1 "NE" 2 "N Cntrl" 3 "South" 4 "West", angle(0))
>> ytitle("") xlabel(-50 "50" 0 "" 50 "50")
>> On Tue, Jun 4, 2013 at 10:43 AM, Nick Cox <firstname.lastname@example.org> wrote:
>>> I wrote a program -slideplot- (SSC) a while back.
>>> I am no longer fond of this approach, so have not really developed it
>>> since. But the program is still lurking there, heedless of my lack of
>>> An overarching comment is that if -graph hbar- gets awkward, you
>>> should switch to -twoway rbar-.
>>> On 4 June 2013 15:19, Jörg Eulenberger <email@example.com> wrote:
>>>> Dear Statalisters,
>>>> i want to draw a graph like a Agepyramid to compare two groups, like this:
>>>> But i don't want on the left side the Agegroups. I need on the left
>>>> side different Items. Each row should show the values of one item, on
>>>> the one side the value of man and on the otherside the value for woman.
>>>> The Graph i want is on page 23:
>>>> Know every one a solution or a graph command?
>>>> Thanks a lot,
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: