Statalist


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

Re: st: Scatter Plot:Change Marker Symbol to Text


From   "Kabir Chabal" <kabs06@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Scatter Plot:Change Marker Symbol to Text
Date   Sun, 6 Apr 2008 15:13:28 -0700

Thanks! That works, though you need to add "mlabp(0)" so that the
~make~ is centered correctly.

scatter price mpg, mlabel(make) ms(none) mlabp(0)


On 4/6/08, Philipp Rehm <philipp.rehm@gmx.de> wrote:
> How about:
>
> sysuse auto, clear
> scatter price mpg, mlabel(make) ms(none)
>
> The idea is to specify a marker variable ("var34" in your example, "make" in
> mine) and to suppress the displaying of the marker symbol.
>
> HTH,
> Philipp
>
>
> Kabir Chabal wrote:
> > Hi -- Does anyone know how to change the marker symbol to a variable
> > name. I don't want both the marker and a marker label, but just a
> > three-letter country code (say, var34) as the marker.
> >
> > thanks!
> > *
> > *   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/
> >
> >
> *
> *   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/
>
*
*   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