plot x label like plot(x, y) in boxplot

1 Ansicht (letzte 30 Tage)
Miraboreasu
Miraboreasu am 10 Mär. 2023
Bearbeitet: Voss am 11 Mär. 2023
Hello,
I need to use boxplot, but how to plot boxplot like plot(x,y), because the x-label (position) for my boxplot is unified
like
load data.mat
x=[1,2,5,10,16]
boxplot(x, data)
Thanks

Akzeptierte Antwort

Voss
Voss am 10 Mär. 2023
data = magic(5);
x=[1,2,5,10,16];
boxplot(data,x);
  4 Kommentare
Miraboreasu
Miraboreasu am 11 Mär. 2023
Thank you
Voss
Voss am 11 Mär. 2023
Bearbeitet: Voss am 11 Mär. 2023

You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by