×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Which graph to use? 2 sets of data

Which graph to use? 2 sets of data

Which graph to use? 2 sets of data

(OP)
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 :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources