Hello,
I would like a line in my scatter plot wich rely all point of the scatter. However the scatter is composed of pairs (points) that are aligned forming a curve more or less flat (regime switching probabilities given transitional variable). The curve is modelling given a logistic function...
I used scatter(style=line) but the line connects CONSECUTIVE points given their position in the sample rather than their position on the graph. Indeed, even if the pairs are aligned, when i connect pairs, i have something which is unreadable (line goings and comings)
Thanks
line connecting pairs in scater plot given position on graph
-
Aktar
- Posts: 35
- Joined: Thu Apr 16, 2009 8:12 am
-
moderator
- Site Admin
- Posts: 269
- Joined: Thu Oct 19, 2006 4:33 pm
Re: line connecting pairs in scater plot given position on g
If I understand the question properly, you probably just need to sort the series by value. You can use a single ORDER instruction to sort both series based on the values of one of them. Then do the SCATTER on the sorted pair.
Regards,
Tom Maycock
Regards,
Tom Maycock