Results 1 to 1 of 1
Thread: Need ideas here
- 07-30-2009, 08:07 AM #1
Need ideas here
I am trying to sort some data in a table that i will later use it to plot a graph. I am stumped now and i need an algorith or just ideas on how to implement this.
For a better explanation, i will use these sample values
When i plot a graph using this data directly, i get a step graph if you all know what i mean!. I want the graph to show level decreasing from 100% all the way to 0% and if it increases the graph should also show.time(Hrs) Level(%)
0 100
2 100
2.05 0
48 0
In order to achieve this, i am supposed to get time steps and level steps as follows
whereby dt is time interval when calculation of the levels are made. For this case, lets say 5 minutestime_step = (t2-t1) /dt
After getting the time_step i should also calculate level_stepHaving done this, i am supposed to graph time level graph decreasing the level by level_step after every 5 minutes.level_step = (L2-L1)/time_step
My idea is to create arrays or table show time in minutes and level(%) after every 5minutes. After that i will just fetch the new data and put it in a graph
I need your ideas on the best way to approach this problem
Thank youWe Learn Through Mistakes..,
Manfizy:rolleyes:
Similar Threads
-
I got a problem with StreamCorruptedException, any ideas?
By Goodwine in forum New To JavaReplies: 8Last Post: 11-05-2010, 10:26 PM -
out of ideas
By v1nsai in forum New To JavaReplies: 2Last Post: 03-27-2009, 01:35 AM -
Research Ideas
By hawaiifiver in forum Forum LobbyReplies: 2Last Post: 02-03-2009, 04:43 AM -
Any Ideas for a Project?
By quddusaliquddus in forum Advanced JavaReplies: 19Last Post: 12-19-2008, 04:22 PM -
Merging Ideas
By CompleteBeginner in forum New To JavaReplies: 1Last Post: 05-19-2008, 02:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks