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 on April 23, and its replacement, is already up and running.

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

Re: st: graph title

From   Nick Cox <>
To   "" <>
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))


On Sat, Jun 1, 2013 at 9:46 PM, Jordan Silberman
<> 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:
> *
> *
> *
*   For searches and help try:

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