[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: graphing
> I was wondering if anyone has developed a program that will allow
> different pen shadings within a single graph (ideally something like
> Nick Cox's wonderful sparl, which puts a regression line in
> a graph).
> What I would like is to be able to use different pens or different
> symbols for different sets of observations. E.g., in doing
> cross-national regressions, I would like to highlight
> formerly Communist
> countries. I know that hilite.ado can do this, but it only
> will do so
> for two groups (dummy variables) and won't put in the
> regression line.
> Ideally, what I would like is to be able to highlight
> different groups
> with different symbols and have a regression line in the
> (single) graph
> (regplot gives you separate graphs for each group).
If you apply -separate- (official Stata) first, you can then do
it by hand: separate variables then allow separate
pens and symbols. It's then just a matter of adding
the (one) regression line I think you want.
* For searches and help try: