LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

polar plot co-ordinates

Solved!
Go to solution

Hi,

 

I was wondering if it was possible to display the actual co-ordinate values for each point on the polar plot picture?

 

I currently display each set in an array at the side of the picture but it would be much better if i could have the values next to each point.

 

Cheers,

 

Darren.

 

 

0 Kudos
Message 1 of 5
(3,264 Views)

Hi Darren,

 

I don't think you can do that... unless maybe you analyze the data with different software (for example, I am learning NI's diadem and it *looks* like I could do what you want there).

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 5
(3,248 Views)
Solution
Accepted by topic author Wortel

Hi,

 

I have solved this problem by using the "Draw text at point" vi and simple trig to calculate the co-ordinates for the origin input.

 

I think the ability to do this automatically would be a very good addition to the next version of LV.

 

Thanks for your reply.

 

Darren.

Message 3 of 5
(3,223 Views)

Always nice to see people solve their own problems, a couple of tips that perhaps you found on your own.  I have modified the Polar Plot.vi and Polar Plot Data.vi that are in vi.lib (make your own copy!)  I like to change things like line width and add markers for the points.  If you look inside Polar Plot Data.vi you will see the array of points which feeds the Draw Multiple Points.vi, in my copy I have created an indicator and pass these points back out through Polar Plot.vi so I know the picture coordinates of the data points.  Then I can draw circles or triangles or whatever at these coordinates, or decimate for markers every n points.  You can use these same coordinates to draw your text box with some suitable offset.  Probably saves a little trig on your part, not that it is a bad thing.

 

I tend to like my plots uncluttered, and if I want coordinates in a picture based plot I have a crazy event-driven scheme to pop-up the coordinates when the mouse is in the vicinity, but otherwise leave it alone.  If you like labelled points and want to convince others that it is a good idea for LabVIEW I would (1) post a screenshot so we can decide if we like the look and (2) post the idea on the LV idea exchange.  Personally, I think the beauty of the picture based plots is that they are blank canvasses, the downside is that the user interactions are limited to what you explicitly add.

 

I would like to see a polar plot on the same footing as the XY graph, cursors, annotations, events, etc.

Message 4 of 5
(3,208 Views)

Cheers Darin,

 

I never thought of doing that with the coordinates already in the Polar Plot Data.vi, I will have a look to see if i can get it to work. I have changed the line thickness etc. just to make it look better.

 

The text boxes on the polar plot are very important for what I need to display, it is for balancing a rotor and viewing a polar plot without the extra information (RPM in this case) is pointless as you have no idea what you are looking at.

 

Maybe having the polar plot on the same level as the other graphs will solve the problem, making it more "interactive".

 

Thanks for the different viewpoint, always appreciated.

0 Kudos
Message 5 of 5
(3,201 Views)