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:
datatips limitation

Subject: datatips limitation

From: K

Date: 27 Jan, 2012 08:51:10

Message: 1 of 3

Hello again,

I've been wondering how can I limit simultaneous data-tips in a plot to a certain amount (e.g. allow maximum of 3 datatips).

Thx in advanced,
K

Subject: datatips limitation

From: fburton@nyx.net (Francis Burton)

Date: 28 Jan, 2012 21:01:49

Message: 2 of 3

In article <jftohu$hl0$1@newscl01ah.mathworks.com>,
K <dkkddkkd@walla.com> wrote:
>Hello again,
>
>I've been wondering how can I limit simultaneous data-tips in a plot to
>a certain amount (e.g. allow maximum of 3 datatips).

I don't know but I suspect the answer will be "You can't".
Maybe there's a workaround - e.g. doing something sensible
if more than 3 are placed, such only using the first (left-
most) three. What was the application you had in mind?

Francis

Subject: datatips limitation

From: K

Date: 29 Jan, 2012 08:38:09

Message: 3 of 3

fburton@nyx.net (Francis Burton) wrote in message <1327784491.409737@irys.nyx.net>...
> In article <jftohu$hl0$1@newscl01ah.mathworks.com>,
> K <dkkddkkd@walla.com> wrote:
> >Hello again,
> >
> >I've been wondering how can I limit simultaneous data-tips in a plot to
> >a certain amount (e.g. allow maximum of 3 datatips).
>
> I don't know but I suspect the answer will be "You can't".
> Maybe there's a workaround - e.g. doing something sensible
> if more than 3 are placed, such only using the first (left-
> most) three. What was the application you had in mind?
>
> Francis

My app. should let the user select exactly 3 points using data crusor.
After the chosing phase, the user generate a simulink model to with parameters derived from the 3 points which mentioned above.
I figure I can use the 'Select Text Update Function' of the data cursor.

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