12-17-2008 06:46 AM
Hi there,
I use a CNiGraph to plot (function PlotXY()) data which is stored in a CNiReal64Matrix array.
It works fine but sometimes, some of the points in the array are invalid points and I would like no to plot them, ie. hide them, which would then interrupt the plotted line in some areas.
Anyone knows how to achieve this?
Thanks
Bob
Solved! Go to Solution.
12-18-2008 12:32 PM
Hello Bob,
Have you considered creating a simple function that accepts your array as an input, iterates through it, and copies only valid data points over to a new array to be returned in its place? I think this may be a fairly easy approach to employ in order to achieve your end goal.
12-18-2008 02:13 PM
Bob,
I believe I may have neglected your desire to plot discontinuous line segments. If this is indeed your end goal, this resource may be of help to you.
12-19-2008 06:19 AM
Thanks a bunch Matt,
This is exactly what I was after.
Bob