swarmchartとboxplotの重ね合わせが上手くいかずエラー
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
swarmchartでタイプダブルの入力因数が未定義とエラーが出ます。
clc
clear
data = xlsread("data")
y = data(:,1:2); %1:グループの平均値, 2:グループの平均値
x = data(:,3:4); %3:1の標準偏差, 4:2の標準偏差
boxchart(y)
hold on
swarmchart(x,y)
0 comentarios
Respuestas (1)
  あいう えお
 el 28 de Feb. de 2022
        意図したグラフを表示できるコードであるのか、確認してみてください
Y = randn(10);
y = mean(Y(:,1:2))
x = std(Y(:,1:2))
boxchart(y)
hold on
swarmchart(x,y)
0 comentarios
Ver también
Categorías
				Más información sobre Box Plots en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!