Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re: Graph problem


From   Donald Spady <dspady@ualberta.ca>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Re: Graph problem
Date   Tue, 02 Mar 2004 15:49:20 -0700

Nick
You are right. I was using the subtitle() found in the -by- window, not in the title window.
You still need to enter the commands into the subtitle box. At least I could not get the menus to do the job.
Thanks for all your help. Now I just need to work through why I get twice as many ticks as I want in Stata7.
Don

At 03:25 PM 3/2/2004, you wrote:

You have got to watch where the -subtitle()- goes.

Tucked inside -by()- it applies to the whole graph.

Otherwise it applies to each panel.

That's not the whole answer, I guess.

Nick
n.j.cox@durham.ac.uk

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Donald Spady
> Sent: 02 March 2004 22:00
> To: statalist@hsphsun2.harvard.edu
> Subject: RE: st: Re: Graph problem
>
>
> Nick
>     What is going "wrong" is that, when creating overlaid graphs, the
> banner for each graph has a colored background, as on page 86
> of the graph
> manual.  This seems to be the case for all the styles in the
> 'by' window
> except the Stata7 style, which creates a graph with no banner
> and the title
> for each separate graph is left justified.  It is possible to
> use the other
> styles and create a graph with a colorless banner using the command:
> "subtitle(, pos(11) nobexpand bfcolor(white) nobox)" as part
> of the overall
> graph command.  If I do this within the subtitle options, as
> you suggested,
> it does not work.  I don't know why.  even though it is the same
> command.   Nevertheless, as I write this, I see that if Stata 7 style
> works, why not use it.   The problem with using Stata 7 style
> is that when
> I try to create ticks (in this case X-axis ticks for ages
> 1-17)  using the
> Minor tick options 0(1)17 (so as to mark each year with a
> single tick), I
> get 34 ticks, which only is chartjunk.  Is there something
> wrong with my
> command for ticks?  I know this is long and I apologize for it.
> Don
>

*
*   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/
Donald Spady

Department of Pediatrics
2C3.92 WMC, University of Alberta
Edmonton, Alberta, Canada
T6G 2R7

780-407-1244:O
780-407-7136:F

Nature has no reset button.

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index