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 个)

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by