12-21-2008 01:47 PM
I have some thoughts but felt it not a bad idea to pose this question to the experts here. The coordinates of the XY plot may be unrelated to the coordinates of the X and Y axe coordinate ranges of the intensity graph. Some thoughts:
1) Knowing the X,Y coordinates of the plot, somehow use draw capabilities to duplicate the XY plot - draw capabilities allow anything to be drawn onto graphs with some clever programming.
2) Similar to above but actually do within the picture control by first displaying intensity graph data in picture control (the default container I am using is the intensity graph but for this application, I can switch back and forth). Mask capabilities of picture control might be used?
Any thoughts are appreciated....
Solved! Go to Solution.
12-21-2008 10:38 PM
12-22-2008 08:29 AM - edited 12-22-2008 08:32 AM
Below is an example. In this case, the curves s0 and a0 are overlaid on top of a time-frequency spectrogram. The increments of the XY plots may not exactly correspond to those for the intensity graph. So basically what I want to do is really overlay a transparent graphic that only shows the curve(s) on top of intensity graph.
12-22-2008 09:33 AM - edited 12-22-2008 09:35 AM
12-22-2008 10:01 AM
Well that's great! Much easier than what I had been thinking of doing (I have some extensive experience using the draw functions on graphs). I figured that there might be a better way which is why I thought to post first.
Much obliged.
Sincerely,
Don
12-22-2008 11:17 AM - edited 12-22-2008 11:22 AM
Let's have some creativity : the attached vis show how we can play with the image property of LabVIEW graphs : The intensity image is obtained from a custom intensity graph buried in a subVI and pasted as background image on the XY graph. No time wasted adjusting the overlaid graph sizes at the pixel level.
There is some work left to be able to choose where to paste the intensity image (below or above the grid lines ?)
12-22-2008 04:45 PM
12-22-2008 05:25 PM
Any chance you can save to LV8.5? Then I can take a whirl.
Originally, I was going to use controls for front panel positioning, scale inversion, data transposition, etc. to allow the user to adjust position of the XY graph but I would like to run your code and see what advantage it has.
Thanks,
Don
12-22-2008 07:42 PM - edited 12-22-2008 07:48 PM
Here you are...
I have added a control to specify where to insert the intensity image.
12-23-2008 09:10 AM