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]
st: RE: Adjacent columns using Catplot
From
"Allred, Elizabeth" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: Adjacent columns using Catplot
Date
Wed, 23 Oct 2013 18:17:53 +0000
Could you show is a little snippet of data and the exact command you typed?
Elizabeth
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Polly Casey
Sent: Wednesday, October 23, 2013 2:06 PM
To: [email protected]
Subject: st: Adjacent columns using Catplot
Hi,
I have searched the statalist and the internet at large for a way to solve this problem but have yet to figure this out! Help needed...
I have a categorical variable, "Fee Paid", which is the fee paid by clients for clinical sessions in bands of £10. To plot the frequency of each category I have downloaded and used Catplot. To break this down according to the time of the session (morning, afternoon, and evening), I have used the 'by' command. This produces three separate bar graphs, one for morning (M), afternoon (A), and evening (E). However, I would like to produce one bar graph with all three session times next to one another for each band of payment, as below:
| |
| | | |
| | | | | |
| | | | | |
M A E M A E
£10-£20 £21-£30 and so on...
Is there a way to do this? Preferably with all the 'morning' columns in the same colour, and all the afternoon' columns in the same colour etc. With continuous data I would use the aysvars option, is there an equivalent for catplot?
Many thanks,
Polly.
Dr Polly Casey
Parents In Conflict Study Coordinator
Research & Data Manager
The Tavistock Centre for Couple Relationships
70 Warren Street
London W1T 5PB
Direct line 020 7380 6097
supporting couples · strengthening families · safeguarding children
www.tccr.ac.uk www.tccr.org.uk This e-mail and any files transmitted with it contain information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error, please delete it and immediately notify the sender. This e-mail does not necessarily reflect the views of The Tavistock Centre for Couple Relationships or its Trustees. The Tavistock Centre for Couple Relationships is part of The Tavistock Institute of Medical Psychology which is registered in England as a Company Limited by Guarantee; Registered in England & Wales No 2411618. Registered Charity No .211058.
*
* 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:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/