Dear all,
I was wondering if anyone knows how to do a graph matrix with different colors over different groups;
For instance, say i want to start with this basic graph:
I would like now to do the same graph, by differentiating the groups by colors. I could do this with different scatter plots:
But was wondering if there is any way to do it with "graph matrix"
Thank you.
I was wondering if anyone knows how to do a graph matrix with different colors over different groups;
For instance, say i want to start with this basic graph:
Code:
webuse iris graph matrix seplen sepwid petlen petwid, mcolor(gs1%15)
Code:
two scatter seplen sepwid if iris==1, mcolor(red%30) || /// scatter seplen sepwid if iris==2, mcolor(blue%30) || /// scatter seplen sepwid if iris==3, mcolor(green%30)
Thank you.
Comment