Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How could I take back the position in vectors D and V when using polar(D,V) ?

Subject: How could I take back the position in vectors D and V when using polar(D,V) ?

From: Camille Couzi

Date: 25 Oct, 2010 14:02:03

Message: 1 of 1

HI matlabers!!

I am working with a GUI which uses polar plots. I make it with the command:
polar(D,V)
D is my vector of directions, and V is my vector of velocities.

I would like to include a window in my GUI, so that when the user clicks on a point of the polarplot, D and V values appear, but also the number of the line in the vector, which corresponds to the point selected.
I would like to use something else than the datacursor, so I was thinking about CurrentPoint, but I apparently this function is not abled for polar plots, because when I click on my polar plot, nothing happens...
Sbdy have any idea?

Thanks in advance for your help!

Camille.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us