Creating plot over the Box plot
Show older comments
Hi Friends,
A = 4; B = 6; C = 8; D = 9;
values = [A;B;C;D]
Y = [500];
labels = {'a','b','c','d','e'}
figure
hold on
boxplot(values,Y);
plot(Y,values,'r*')
I'm trying to use hold on to view plot (*) on the boxplot. But, it doesn't work well and I only see box plot not the plot over it.
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Box Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!