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

5 visualizzazioni (ultimi 30 giorni)
Miraboreasu
Miraboreasu il 10 Mar 2023
Modificato: Voss il 11 Mar 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

Risposta accettata

Voss
Voss il 10 Mar 2023
data = magic(5);
x=[1,2,5,10,16];
boxplot(data,x);
  4 Commenti
Voss
Voss il 11 Mar 2023
Modificato: Voss il 11 Mar 2023

You're welcome!

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by