connect median in a boxplot
27 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
yasmine ayed
am 11 Sep. 2019
Kommentiert: Jeenu John
am 6 Mär. 2021
Hi,
I have this boxplot which reprent wind velocity according to time.
I want to connect all medians ( represented with an horizantal red line) with just one curve.
what can I do ?
0 Kommentare
Akzeptierte Antwort
Akira Agata
am 11 Sep. 2019
Like this?
% Sample data
Data = randn(100,10);
% Calculate median for each column
med = median(Data);
% Visualize the result
figure
boxplot(Data)
hold on
plot(med,'ro-')
4 Kommentare
Akira Agata
am 20 Sep. 2019
It depends on what types of file your data is stored.
If your data is stored in CSV or Excel file format, it would be easy to import your data.
The following link would be some help.
Jeenu John
am 6 Mär. 2021
i have imported excel sheet data into matlab . How to draw boxplot using these data and connect the median
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!