StrangeQuark
Computer
- Aug 22, 2005
- 1
I'm trying to graph 2 sets of data, one will be the line graph itself and one will be tied into the x axis. However, I'm in the dark on which graph to use because:
1) I dont know if I HAVE to use arrays or not for this data
2) I dont know if charts/graphs can have an x axis that is tied into incoming data
3) If i did use arrays, I wouldnt know what to do with them
The overall situation is this, I'm getting information from a Monochrometer in which I send a !GO command and it will start scanning wavelengths, returning each wavelength back one at a time. Then, I'm going to match them up with another instrument that measures something according to what wavelength its on (you have to understand I cant tell you 'what') thus giving a y value for every wavelength (x) value, which is a graph.
I have gotten the graph to read the monochrometer, however it goes by time which means that its basically a series of spikes, the tip being a point on the line I want and the rest being 0. If you have the time can you also help me fix this so that it will only update the graph when it recieves a different wavelength back? I dont think event structures will work because of the nature of the program.
Help is appreciated
1) I dont know if I HAVE to use arrays or not for this data
2) I dont know if charts/graphs can have an x axis that is tied into incoming data
3) If i did use arrays, I wouldnt know what to do with them
The overall situation is this, I'm getting information from a Monochrometer in which I send a !GO command and it will start scanning wavelengths, returning each wavelength back one at a time. Then, I'm going to match them up with another instrument that measures something according to what wavelength its on (you have to understand I cant tell you 'what') thus giving a y value for every wavelength (x) value, which is a graph.
I have gotten the graph to read the monochrometer, however it goes by time which means that its basically a series of spikes, the tip being a point on the line I want and the rest being 0. If you have the time can you also help me fix this so that it will only update the graph when it recieves a different wavelength back? I dont think event structures will work because of the nature of the program.
Help is appreciated