10-13-2009 07:02 AM
Hi,
I'm working on some code to display data from a spectrometer. I've got to the point of producing an energy vs. intensity graph, but I'm having some problems calibrating the x axis (energy).
The customer wants to be able to insert filters with a cut-off at known energies, and use those points to work out what positions on the graph correspond to what energies. In programming terms, I need to let the user click on the graph at two points with known values, and use those points to recalculate the XScale multiplier and offset (I think).
I've tried a few different things, and attached by best attempt so far. It's a simplified example, but I hope it captures enough of the problem to be useful. I can't help thinking there must be a simpler way to do this. Any suggestions?
Solved! Go to Solution.
10-13-2009 08:50 AM
10-13-2009 10:00 AM
10-13-2009 10:23 AM
Dumb question to follow!
Did you try using the builtin zoom tool?
Ben
10-13-2009 10:33 AM - edited 10-13-2009 10:33 AM