Id Appreciate Some Advise Mates

can someone tell me if i can graph a value taken from digital pins just using Arduino software??I have and external circuit connected to arduino that consists of a thermometer and an 8 bit adc.I attached the adc outputs to arduino digital pins 2-9 and can see i'm reading the digital inputs normally in monitoring.Now i'm trying to figure out how to graph the changes in temperature along with time.So i guess all i have to do is create two axis x for time and y for the value(for example a table 400*500) and address the points on the graph by combining the x dimension(time) with y dimension(value) in a float table[x,y].....When the time reaches the right end it should go to the beggining and continue.What i'd expect to see as an outcome is a line going up and down until the right end of the interface,then instantly vanishing and starting from the beggining.I hope there is simple way to do this with arduino 1.01...if not somebody will probably advise me to use processing!! heres what i've done so far in arduino 1,01

void setup() {
// initialize serial:
Serial.begin(9600);
pinMode(2, INPUT);
pinMode(3, INPUT);
pinMode(4, INPUT);
pinMode(5, INPUT);
pinMode(6, INPUT);
pinMode(7, INPUT);
pinMode(8, INPUT);
pinMode(9, INPUT);

}
void loop() {

int a = digitalRead(2);
int b = digitalRead(3);
int c = digitalRead(4);
int d = digitalRead(5);
int e = digitalRead(6);
int f = digitalRead(7);
int g = digitalRead(8);
int h = digitalRead(9);

int val=(a * 1 ) + (b * 2 ) + (c * 4 ) + (d * 8 ) + (e * 16 ) + (f * 32 ) + (g * 64 ) + (h * 128 );
Serial.print("Read switches : ");
Serial.println(val);
delay(1000);
}