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: graph title


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
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
[email protected]


On Sat, Jun 1, 2013 at 9:46 PM, Jordan Silberman
<[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index