Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: How to start a bar graph with a minimum other than 0


From   Andrew Hsiao <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: How to start a bar graph with a minimum other than 0
Date   Wed, 31 Aug 2011 11:28:13 -0400

Thanks. That'll do. I know there are better cheaters than I.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ronan Conroy
Sent: Wednesday, August 31, 2011 11:21 AM
To: [email protected]
Subject: Re: st: How to start a bar graph with a minimum other than 0

On 2011 Lún 31, at 15:24, Andrew Hsiao wrote:

> I was trying to create a bar graph with a set of group means. The differences between the groups are not big numerically but I'd like to highlight the differences. I want to  plot the bars at a value other than 0 (not meant to mislead but to make the point of where they differ).

Then try cheating.

1. Subtract a constant value from each mean (looking at your data, you might subtract 70)

2. On the plot, use bogus labels

ylabel(0 "70" 5 "75" 10 "80" 15 "85 20 "90", angle(0))



Ronán Conroy
[email protected]
Associate Professor
Division of Population Health Sciences
Royal College of Surgeons in Ireland
Beaux Lane House
Dublin 2


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index