GLCD routine to graph line plot of data array

Post your requests and ideas on the future development of mikroPascal for AVR.
Post Reply
Author
Message
UofM-EShop
Posts: 6
Joined: 15 Nov 2006 16:54

GLCD routine to graph line plot of data array

#1 Post by UofM-EShop » 07 Dec 2006 20:54

I would find it useful to be able to display a line plot graph of an array of data values on a GLCD. An array of points would be passed to the procedure and it would create an X-Y plot (one pixel wide line) with Y-intensity axis as data value and X axis as data point number. It would auto-scale the Y axis to the overall data array min and max range. If there were more data points than X axis pixels, then it would determine the maximum dta value in each sub-range of points that would be mapped onto an indivudal pixel and only display one Y-pixel at each X axis pixel. This would be used to show results of on-going periodic adc conversions.

Post Reply

Return to “mikroPascal for AVR Wish List”