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: Demarcating regions on scatterplot
From
Scott Merryman <[email protected]>
To
[email protected]
Subject
Re: st: Demarcating regions on scatterplot
Date
Mon, 29 Jul 2013 16:17:18 -0500
See -scatteri ..., recast(line)-
For example:
sysuse auto
scatter price weight || scatteri 5000 3000 10000 3000 , recast(line)
|| scatteri 7500 2500 7500 3500 , recast(line) ||, legend(off)
Scott
On Mon, Jul 29, 2013 at 4:10 PM, Samuel Bailey <[email protected]> wrote:
> Hello,
>
> I have a square scatterplot that is serving as an intensity matrix. I
> would like to mark off certain regions around the diagonal. Right now,
> I am using xline() and yline() to create gridlines, which work, but
> ideally only the lines around the region would be visible. (I.e.,
> rather than a horizontal line that goes across the graph, there is a
> horizontal line that only appears for a range of x values; same for
> vertical lines.) Does anyone know of a way to do this, either through
> x/yline or another function? Thanks.
>
> Sincerely,
> Sam Bailey
*
* 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/