Thread Subject: Data Cursor not working properly

Subject: Data Cursor not working properly

From: Adan Levy

Date: 20 Nov, 2009 20:01:06

Message: 1 of 1

Hello everybody!
When i try to use the interactive data cursor with a patch containing nans in the "Faces" matrix, an error message appears (it is very big to copy it here)

I?ve been looking for workarounds for this issue but just found this:
http://www.mathworks.com/support/bugreports/517773

I?m actually working with matlab 2009b.

Evaluate the code below to experiment the described issue (this bug only happens in matlab 2009a and 2009b). And after executing this try to use the interactive data cursor... the error appears

figure
a=[1 2 3 nan; 1 3 5 4;4 6 5 nan;1 2 6 4;2 3 5 6];
coord=[0 0 0;1 0 0;0 0 1;0 1 0;0 1 1;1 1 0];
patch('Faces',a,'Vertices',coord,'FaceColor',[0 1 0],'FaceAlpha',0.7);
view(3)
axis([-0.5 1.5 -0.5 1.5 -0.5 1.5 -1 1])

Can anyone help me with this????
Bye folks!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
nan Adan Levy 20 Nov, 2009 15:04:10
patch Adan Levy 20 Nov, 2009 15:04:10
interactive Adan Levy 20 Nov, 2009 15:04:10
bug Adan Levy 20 Nov, 2009 15:04:10
data cursor Adan Levy 20 Nov, 2009 15:04:08
rssFeed for this Thread

Contact us at files@mathworks.com