LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scale Circle on XY Graph

Solved!
Go to solution

I found a post from 2005, showing how to plot a circle on an xy-graph knowing the center and radius,

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=146782&query.id=2708998#M146782. My xy grid is rectangle and Altenback mentioned a solution when your grid is not square but I'm not able to follow.  Any suggestions out there?

 

Thanks.

 

LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 1 of 5
(6,159 Views)

If the grid is not square, you need to decide if the circle should follow the actual grid or be round no matter what. You could simply scale the circle accordingly, but an easier way might be to sue the "plot images" overlay using picture commands. Open the example finder and look at the example named "Plot Area Images". See if it makes sense and ask again if you get stuck. 😉

 

And please try to spell my name right next time ;). 

0 Kudos
Message 2 of 5
(6,157 Views)

Sorry about the spelling, been out of the office for a week and my brain is still playing catch up. 

 

To give a better idea of what I want to accomplish.  The grid will represent the test room which in this case is 20'x40'.  I want to be able to show where the device under test is located in the space as well as the test data being collected in the space on the graph so in this case it is imperative that the device is round no matter what.

LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 3 of 5
(6,151 Views)
Solution
Accepted by topic author MeCoOp

So use the "plot images" method. Did you look at the example I quoted?

 

There are also plenty of examples in the forum, for example here and here.

 

The above should get you started. 🙂 

Message 4 of 5
(6,138 Views)
Studying now.  Thanks.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 5 of 5
(6,117 Views)