PDA

View Full Version : Graph display question



Art
- 3rd March 2012, 02:56
Hi Guys,

a simple one...
Is there a specific term for the kind of graph display that shows
spikes and dips over time such as the download speed graph in utorrent?

...As opposed to an led bargraph on a VU meter for audio
that forgets the last reading when the new one is displayed...

Cheers, Art.

Art
- 3rd March 2012, 09:22
I think it's a real time graph.

Anyway, here's a graphing tachometer done with a single custom character (using 5x7 pixels).
It shows increments of 500 RPM for the last five seconds:

http://www.youtube.com/watch?v=q1Gd7ZWSscM&feature=youtu.be

Done by shifting the custom character bytes to the left every second,
and adding the new values to bit 0 of every line.
Cheers, Art.

Heckler
- 3rd March 2012, 19:46
Is it called a Histogram??

Nice work Art,

It seems to me, though, that for an engine monitor, one would be more interested in what the RPM's are real time than what they were a few seconds ago.
But it's a neat feature for show. (or am I missing your point?) Possibly your are suffering from "feature creep".

Not that feature creep is bad... all my projects experience it.
"Hey I have 600 bytes left.... I bet I can add... "

I bet you are having fun developing that monitor. I always do when I'm working on a project.

Art
- 4th March 2012, 00:00
Well it started out a single bar graph, but the display of info is secondary.

One of it's functions is to turn off my air conditioner when the engine is laboring heavily,
but you wouldn't want the aircon to turn off for one second because you revved the
motor for a second, so better to look at the last five seconds.