cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

How to insert a picture into a XY Graph

Resolvido!
Ir para a solução
Hi all, I'm trying to insert a picture into a certain position within a XY Graph. When I use the plot image properties it always set the position at the top left of the XY Graph indicator, but I can't solve to put it in the centre of the XY graph. I attached an example tried (you can use any little picture you have). Thanks in advance.
Mensagem 1 de 14
12.731Exibições
Sorry, I don´t know I can´t attach the .vi but the idea is tu use these explanations focused on center the picture into a XY graph: http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/mapping_plot_area_images/ Any idea about this? thanks
0 Kudos
Mensagem 2 de 14
12.725Exibições

Hello londonew

 

I sorry but all images you attach into a graph always appear in the top left corner. The only way to plot the image in a different point is to create an image with a transparent frame or similar. Be careful because depending on what plot option you select it has a different behavior (check the attached example)

0 Kudos
Mensagem 3 de 14
12.706Exibições
Hello sendia, the solution doesn't satisfy me too much. I don't understand why doesn't exist in LabVIEW any simple solution for this, but thanks you for your reply. I appreciate your help.
0 Kudos
Mensagem 4 de 14
12.682Exibições

What type of picture are you trying to add?  A bitmap image (jpg,png..), or something created with the drawing VIs?  There can be some relatively simple workarounds depending on the picture type.

0 Kudos
Mensagem 5 de 14
12.679Exibições
Hello, I am using a simple *.jpg file but not necessarily have to be in this format. Please, let me know if there is another appropriate format.
0 Kudos
Mensagem 6 de 14
12.673Exibições

This should work:

 

CenterPictInGraph.PNG

 

CenterPictinXYGraph.png

Mensagem 7 de 14
12.668Exibições
Hello Darin.K, it seems just I'm looking for. But, which are the VIs you have between Read JPEG File and Drawn Flattened bitmap. I've never seen before, I think I haven't this structure in LV8.2, ¿may I have this example? thanks
0 Kudos
Mensagem 8 de 14
12.648Exibições

The structure (InPlace Element) does not exist in LabVIEW 8.2.  It can be replaced by an unbundle followed by a bundle.  I have attached the equivalent LV 8.2 VI.

 

P.S.  Use of VIs in vi.lib which are not on the palette (two in this example) can lead to programs which get broken in later versions of LabVIEW when the VIs change.  Only VIs on the palettes are guaranteed to be forward compatible.

0 Kudos
Mensagem 9 de 14
12.635Exibições
Solução
Aceita por londonew
Thank you very much, It works fine!
0 Kudos
Mensagem 10 de 14
12.632Exibições