LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

intensity plot LV 7

Hi everybody out there.

My licensed Version of LV is 7.1 for windows XP.

I have a big matrix:
first line: wavelenghth (380, 400, 420, ...)
first column: time (a nonlinear scale, e.g. 0,1,2,3,4,50,100,500,1000)

all the other "cells" contain my (relative) intensity signal:
0.01, 0.02, 0.00
0.03, NaN, -0.1

I cut the first row and column and generate an intensity plot.
That looks quite OK.

But what I want to do is the following:
1) How can I create ticks on the axis with my real value (and not the
matrix index)? (I'd like to use the vectors which is left from the
matrix cropping)

2) I need a interactive "tool" to read a cursor, which is placed by user
in this plot (with the intensity plot it is not possible).

=> in other word:
LV creates a nice plot with a axis including the ticks and the user can
put a cross (cursor) in the plot and LV returns the wavelength and the time

Is this possible?
I'm new here, I hope the questions are not off topic.

Thanks a lot,

Thilo Kunz
0 Kudos
Message 1 of 2
(2,793 Views)
Intensity graps require the spacing in x and y to be uniform so labeling the axis ticks will not be trivial. Maybe you can substitute the axis of a hidden slide and set it to "text labels".
 
The cursor problem is much easier. Just read the cursor index and then index into your array of time values and display it. (Same for the Y axis, except you would need to use cursor position, because cursor index is not available here).
 
Another possibility would be a picture indicator to make your graph. Here you have full control over any axis labels you want to place. This will require some work, though.
0 Kudos
Message 2 of 2
(2,791 Views)