Community

Share knowledge. Find answers. Ask questions.

Online Share Trading

Engage and learn about markets and trading online

Rounding error for side of graphs

Reply
Not applicable
Is it my imagination or does the edge slope. When I was programming graphs for maths pupils (pascal or delphi) i had to make sure rounding methods for two points that defined the line were compatible. Is the slope caused by a rounding error?
0 Kudos
2 REPLIES 2
Highlighted
Super Contributor
My guess was that to close the graph (filled with red/blue) they set the last value to the bottom of the graph. That results in it looking like you are experiencing a massacre drop-off.
0 Kudos
Not applicable
Thanks for comment - that is quite a likely explanation. Would be nice to see the code and seems it should be easy to fix if program was nicely put into procedures (modules?). If anyone needs school graphs program i wrote i can email it to them (draws parabola etc)
0 Kudos