How to plot this kind of graph with box plot?

I have a question about drawing graph.
This one is my graph with box plot.
bbb.png
But I want to draw like the examples of below.
The thing is my data is not cloud. Each data is on there integer data like [0,0.25..]
But I want to plot with line and some cloud. Could you recommend some options or different way?
bb.png
aa.png

 채택된 답변

Cris LaPierre
Cris LaPierre 2018년 12월 19일

0 개 추천

The bottom two plots are just box plots with the raw data plotted on the same axes. Using a built-in example, here's a simple example.
load carsmall
boxplot(MPG)
hold on
plot(ones(1,length(MPG)),MPG,'o')
Not perfect, but maybe enough to get you started?

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

태그

질문:

2018년 12월 18일

답변:

2018년 12월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by