Second Try at Graphs
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Second Try at Graphs
This morning I though I had cracked it - drew
a nice curved graph and even figured out how to
delete all those graphic objects!
This afternoon a different story. After trying to
figure out why one of the buttons on my current
project didn't do what it was supposed to do after
half an hour I finally found the answer - the
"on mouseUp" line had disappeared from the
handler. Disappearing buttons, groups that
aren't groups, an editor that has it's own ideas
on how to code...really is too much.
Anyway, back to the graphs.
At the end of a day I have points in
an array such as
[1]5.2
[2]10,4
[3]10,4
[4]15,6
which I put in a loop in pairs to
get the points... 5,2 return 10,4
10,4 return 15,6
and so on which should give me a
decent graph.
This morning they gave a nice curve.
This afternoon all I get is a series of
lines 128 wide and 32 high all in the
same position. Same code,
same everything.
Anyone know what gives?
a nice curved graph and even figured out how to
delete all those graphic objects!
This afternoon a different story. After trying to
figure out why one of the buttons on my current
project didn't do what it was supposed to do after
half an hour I finally found the answer - the
"on mouseUp" line had disappeared from the
handler. Disappearing buttons, groups that
aren't groups, an editor that has it's own ideas
on how to code...really is too much.
Anyway, back to the graphs.
At the end of a day I have points in
an array such as
[1]5.2
[2]10,4
[3]10,4
[4]15,6
which I put in a loop in pairs to
get the points... 5,2 return 10,4
10,4 return 15,6
and so on which should give me a
decent graph.
This morning they gave a nice curve.
This afternoon all I get is a series of
lines 128 wide and 32 high all in the
same position. Same code,
same everything.
Anyone know what gives?
Life is just a bowl of cherries.
Second Try at Graphs
My attempts to create graphs didn't get
me anywhere until I got hold of the
plotter_test1.rev from Klaus.
So thanks Klaus and here's a pic of what
I was able to achieve using your stack as
a model.
The values are prog-generate and put into an
array. The required values are then put into
point lists and then plotted. A plot like this one
takes around 5 second (which includes the
processing)..must time the plotting part
separately.
The values are all whole numbers and increment/
decrement by one so no need for a smooth curve.
The only thing that tripped me was the "delete line -1..."
which of course I didn't need as I wasn't using a list.
Thought I could insert an image but have to upload
it. Pity. I'll put it in a stack and into Rev Online -
user name bjb007.
me anywhere until I got hold of the
plotter_test1.rev from Klaus.
So thanks Klaus and here's a pic of what
I was able to achieve using your stack as
a model.
The values are prog-generate and put into an
array. The required values are then put into
point lists and then plotted. A plot like this one
takes around 5 second (which includes the
processing)..must time the plotting part
separately.
The values are all whole numbers and increment/
decrement by one so no need for a smooth curve.
The only thing that tripped me was the "delete line -1..."
which of course I didn't need as I wasn't using a list.
Thought I could insert an image but have to upload
it. Pity. I'll put it in a stack and into Rev Online -
user name bjb007.
Life is just a bowl of cherries.
Hi kotikoti,
check my site:
http://www.major-k.de/xtalke.html
Most of the stuff there is quite old from the PRE array days of Rev
Feel free to drop a line in case of questions!
Best
Klaus
check my site:
http://www.major-k.de/xtalke.html
Most of the stuff there is quite old from the PRE array days of Rev

Feel free to drop a line in case of questions!
Best
Klaus
Hi kotikoti,
shameless plug here. You might want to take a look at chartsEngine. The line type should be perfect for that purpose.
All the best,
Malte
http://www.runrev.com/products/related- ... rtsengine/
shameless plug here. You might want to take a look at chartsEngine. The line type should be perfect for that purpose.

All the best,
Malte
http://www.runrev.com/products/related- ... rtsengine/