[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: overlay symbols in graph legend?
I am trying to create a black and white line graph of 9 variables.
There aren't really enough obviously distinct clpatterns for this, so
I've tried to be a bit inventive(!) What I'd like to do, is use
-connected-, but with very few markers. I'm not able to use connected
directly because I am plotting curves (output from another program) so
the markers overlap.
Instead I've generated a new "m" variable for each "line" variable I'm
plotting with values at only a few points, and used
twoway (line l1-l9 x) (scatter m1-m9 x)
This gives me the lines I want, but now I'd like to overlay the legends
too, so that the variable label for l1 is put beside a line with a
marker in the middle, as if I'd used -connected-.
To give an idea of what I want, here's the graph "so far":
(it's currently in colour to make things easier for me - I'm loooking at
several of these - but will eventually be black and white).
Many thanks for any suggestions, Chris.
* For searches and help try: