Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Problems with labels in graph bar


From   "David Harrison" <[email protected]>
To   <[email protected]>
Subject   st: RE: Problems with labels in graph bar
Date   Tue, 7 Feb 2006 09:35:01 -0000

1. You have an extra comma between the -relabel()- and -label()-
options.

2. The option -bargap()- specifies the gap between y variable bars - you
have only one y variable, hence it has no effect. Try the -gap()-
suboption to -over()-.

Hope this helps

David

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mosca, Ilaria
Sent: 07 February 2006 08:58
To: [email protected]
Subject: st: Problems with labels in graph bar

Dear Statalisters,

I generated a graph bar with the following command:

#delimit ;
graph bar (sum) time,over (category,relabel(1 "Hours" 2 "Minutes"),
label (labs(small))) over (choice) 
	bargap(-30)
      title("Trial",size(medium))
      subtitle("by category",size(medsmall));
      
My questions are the following:
- It seems that the command 'relabel' does not work with the command
'label(labs(small))'. Unfortunately the size of the labels is too big,
so that 'Hours' and 'Minutes' overlap. Therefore, I wanted to put the
text size smaller. But how can I do that? 
- Although I specify the option bargap(-30), the bars do not overlap.
Why?

Many thanks in advance for your help!
Ilaria

Met inachtneming van eventuele beperkende bepalingen in deze e-mail, mag
u deze informatie gebruiken voor het doel waarvoor u die ontvangt. Aan
deze gegevens kunnen geen rechten worden ontleend. CTG/ZAio aanvaardt
geen aansprakelijkheid voor de juistheid en volledigheid van deze
gegevens. Enige schade, ontstaan door de ontvangst of het gebruik van
dit e-mailbericht of de informatie daarin, komt voor uw eigen
verantwoordelijkheid. Als u een officiele beslissing (besluit,
beslissing op bezwaar) van het CTG/ZAio wilt waaraan rechtsgevolgen
verbonden zijn is een e-mailbericht onvoldoende. U dient dan een
schriftelijke en ondertekende brief of fax te sturen met daarin het
verzoek of bezwaar.



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index