Not a directly B4J quesiton but could be interesting:
I have 8000 data samples and want to draw a whole plot figure, but my canvas width is only 200 pixels, I can draw one sample every 40 samples for one pixel. The problem is almost all data sample values are zero, except that values of sample index 46, 846, 1646, etc. are 100.0, then my plot will not show these key points. Using Python or Matlab to plot the key points will always be drawn no matter how small the figure is. What is the logic/algorithm behind to fulfill this function?
@klaus @William Lancee maybe you are interested...
Also I got nothing from google, the problem is also how to phrase this question, since it is kind of hard to explain...
I have 8000 data samples and want to draw a whole plot figure, but my canvas width is only 200 pixels, I can draw one sample every 40 samples for one pixel. The problem is almost all data sample values are zero, except that values of sample index 46, 846, 1646, etc. are 100.0, then my plot will not show these key points. Using Python or Matlab to plot the key points will always be drawn no matter how small the figure is. What is the logic/algorithm behind to fulfill this function?
@klaus @William Lancee maybe you are interested...
Also I got nothing from google, the problem is also how to phrase this question, since it is kind of hard to explain...