Plot Precision

Sep 3, 2013 at 3:10 PM
I recently inherited some code that uses OxyPlot, and am having some issues displaying plot points accurately.

I think the problem has to do with the precision of the points being plotted versus the scale of the plot area. The items being displayed are supposed to be 1 unit apart. and approximately a third of a unit in thickness. But when they are displayed, sometimes there is a gap between the plotted items, and sometimes they touch or overlap. My axis are usually 100 units.

When I multiply the values I'm plotting by two, the spacing appears evened out. The spacing also appears better when I enlarge the plot area.

Is there a way to control the plotting precision while keeping the same axis scaling?
Coordinator
Sep 4, 2013 at 6:52 PM
On what platform are you seeing this problem? wpf/sl/winforms? What OS?
And what kind of series? Need more info.
Aliased lines must be snapped to device pixels, and there are some small variations if you look at the pixels on the different platforms.
Can you post a screen shot or some code that generates the plot (Ctrl+Alt+C)?