MATLAB Answers

Data Cursor for several bar plots

1 ビュー (過去 30 日間)
Jette
Jette 2012 年 6 月 28 日
Hi,
I want to have a data cursor for a diagram like
bar([1 2 3 4],'FaceColor','none','EdgeColor','b')
hold on
bar([2 1 4 3],'FaceColor','none','EdgeColor','r')
bar([4 3 2 1],'FaceColor','none','EdgeColor','g')
However, the data cursor behaves not as I expect it and I am not able to hit every data point in the diagramm. I have the impression that it does not allow me to choose points of which only the upper horizontal line of the patch is visible (like the blue and red point of the second column). When I hit such a point the cursor appears at a "totally different" position.
Any idea how to overcome this problem?
(I use MATLAB R2010b on Windows XP)

回答 (0 件)

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by