| Sometimes I don't know how many points will be in the target array, yet I need to plot a line with markers. If too many points presented, markers on the plot will overlap and an single bold line will be plotted: The solution acceptable for me is to 'thin out' input array in order to exclude points, which are too close to each other. My first implementation of such functional is: So this code gives line with separated markers: Perhaps, more clear and common way to do such thing is already designed? |
| I'd recommend to plot the data points with sufficiently small markers and a suitable fit on top. This is how data is usually visualized. You can't just drop some of the data, that is very confusing to readers. |
Asked: Jul 16 '11
Seen: 77 times
Last updated: Jul 19 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.