LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What do you think is best way to overlay an XY plot onto Intensity Graph?

Solved!
Go to solution

Revisiting this one even though I likely still have to use the XY graph overlay method to allow consistent axis scaling with spectrogram axis rescaling.

 

But this seems to clean things up using draw technology.  (Or cursors just to show how it would be done that way......).

 

Did not introduce scale factors for draws in case one needs to change the X or Y scaling of the spectrogram.

 

Don
0 Kudos
Message 21 of 25
(1,153 Views)

Hello:

 

I had to add an additional patch if one wants to be able to utilize draw technology for multiple plot overlays in which they have been bundled together.  If one has several curve overlays, and they are of different array sizes, it would seem we have to remove the NaN from the array in order to plot properly. Additionally, even after NaN are removed, one has to know the new array size since arrays of less size than the largest end up getting zeroes padded so all arrays are the sames size.  The latter then negates the advantage of removing the NaN. See what I have done and tell me if you think there is a better way.

 

Thanks,

 

Don

Message Edited by DonRoth on 01-21-2009 12:35 PM
0 Kudos
Message 22 of 25
(1,117 Views)

Hi, thanks for your VIs which have provided me with a lot of help. I have a little confusion that I would like to consult. How to display and control the colorbar of an intensity graph in the VI?

0 Kudos
Message 23 of 25
(356 Views)

Right click the Intensity Graph, on the popup menu, => Visible Items, make sure both Z Scale and Ramp are checked.

 

George Zou
0 Kudos
Message 24 of 25
(341 Views)

Thanks a lot!

I didn't notice this detail before.

0 Kudos
Message 25 of 25
(334 Views)