Statalist


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

RE: st: Coloring a graph area


From   "Martin Weiss" <martin.weiss@uni-tuebingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Coloring a graph area
Date   Thu, 5 Jun 2008 16:23:15 +0200

Thanks, that is what I was looking for...

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Scott Merryman
Sent: Thursday, June 05, 2008 4:16 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Coloring a graph area

use auto, clear
su price, mean
local mean = r(mean)
kdensity price, gen(x h)
line h x, || area h x if  x < `mean'

Scott


On Thu, Jun 5, 2008 at 8:48 AM, Martin Weiss
<martin.weiss@uni-tuebingen.de> wrote:
> Dear Statalisters,
>
> I am wondering whether it is possible to apply a certain color or
> (transparent) texture to a certain area of a graph?
>
> In
> ********
> use auto, clear
> su price, mean
> kdensity price, xli(`r(mean)')
> ********
> I would want the area to the right of the xline to appear different from
the
> left. I cannot seem to find an option to achieve this in the graph editor.
> Any ideas?
>
> Martin Weiss
>
*
*   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