02-10-2009 04:23 PM
I am currently trying to take two sets of data (x-axis (volume),y-axis (depth)) and create a bar plot. I am acquiring this data every 100 ms. I have the ability to show this on an XY Graph, but I would prefer to have more of an accumulating bar for certain zones. I tried using a histogram but I have failed quite successfully.
Any suggestions would be appreciated.
Thanks
02-10-2009 05:26 PM
First off, making the barchart itself is not the hard part - it's just a matter of selecting it from the popup menu for the graph. The tricky part can be getting the data to plot. It sounds like you are wanting to accumulate counts or something for discrete ranges of values. If so, I would think that the histogram is exactly what you need. Could you post the code for you histogram experiments? Perhaps there's something you don't understand.
Mike...
02-11-2009 08:10 AM
Mike,
I am including a couple screen shots of what I currently have. The first screen shot is currently how I have the system, as I am withdrawing upward (depth) out of the ground I am filling it with a certain amount of concrete (volume). For myself the current graph makes sense, but talking with a few others in my office and around the company, it would be easier to show the operator a bar graph of the volume increasing as he is withdrawing out of the ground. I made a mock up drawing of what I would like to do for this (second screen shot). The way that I see this working is that the operator enters in a certain amount of depth to accumulate the volume over. This then would create the height of the bar and as the volume is pumped in that depth range the bar increases. I have also included the screen shots of the Histogram that I tried and failed miserably at. Maybe I just wasn't using the histogram function correctly.
Thanks for the help,
Fritz
02-12-2009 11:24 AM
FritzHB,
Altenbach has already made a great example doing exactly what you would like to do here.