From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i replace a Plot data with an image in an XY Graph?

I want to build a VI where the plot data or the points in an XY Graph is replaced by an Image. Is this possible?

 

 

0 Kudos
Message 1 of 5
(2,213 Views)

Hi Pranesh,

 

the plot data or the points in an XY Graph is replaced by an Image. Is this possible?

Yes.

Graphs support to embed upto 3 images, for front, middle and background…

 

For reference you might look for the "Plot images property" example VI in the example finder!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,208 Views)

Thanks a lot. Now I'm able to insert an image into the plot. But how do I control the position of the image? Lets say I want an image at an X and Y axis point, How do I do that?

 

 

0 Kudos
Message 3 of 5
(2,190 Views)

Hi Pranesh,

 

the image is embedded at the upper left corner of the graph plot area (from my mind, please test again).

To move the image to a different position you need to create a larger image and place your "sub"-image at the right pixel coordinates…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,179 Views)

Hi Pranesh. Did you find a way to put an image in a specific point in the graph?

0 Kudos
Message 5 of 5
(2,029 Views)