Hi,

I'm facing the following problem here:

Say I've a file having the following data:

1 2 1 3 4 1
2 - 3 4 4 1
4 - 3 2 4 1
|-----|
w
|-----|
w
|-----|
w
|-----|
w

Now what I want to do is slide a window of character-length 3 and evaluate the three rows (or n rows) and 3 columns by drawing a histogram i.e. i want to feed the data (row-wise) in some evaluating function and based on its o/p i want to draw the histogram. Now my question is what are the functions that can help me achieve this? It would be great if someone could give me a direction of how to approach it and I wish to do the stuff myself and hone my C skills .

Thanks,
Angshu