Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: graph title


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: graph title
Date   Sat, 1 Jun 2013 22:44:34 +0100

The title is just something with a default position, etc. What you
want is probably easiest to achieve by putting the legend where you
want the title to be.

. sysuse auto, clear
(1978 Automobile Data)

. separate mpg, by(foreign) veryshortlabel

              storage  display     value
variable name   type   format      label      variable label
-----------------------------------------------------------------------------------------
mpg0            byte   %8.0g                  Domestic
mpg1            byte   %8.0g                  Foreign

. scatter mpg? weight, ms(Oh X) ytitle(`: var label mpg')  legend(pos(12))

Nick
njcoxstata@gmail.com


On Sat, Jun 1, 2013 at 9:46 PM, Jordan Silberman
<silberman.stata@gmail.com> wrote:
> Hi,
>
> Can anyone tell me if there's a way to have Stata display a graph marker
> symbol (eg, a dot or X that represents a data point) in the title of a
> graph (as opposed to in the plot region itself)?
>
> Thanks,
> Jordan
> *
> *   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index