Multiple boxplots on one figure
조회 수: 3 (최근 30일)
이전 댓글 표시
I need to generate a boxplot that compares the windspeeds from the recent hurricane (Table 1) and the hurricane that occurred last year (Table 2).
Table 1: Windspeeds and distances from hurricane center for recent hurricane
Windspeed: 30,35,41,80,52,50,29,73,33,35,46,28,53,31,25
Distance: 55,50,49,8,35,38,60,26,46,50,41,65,37,57,70
Table 2: WIndspeed and distance from hurricane center for hurricane that occured last year
Windspeed: 22,33,41,89,62,59,25,88,35,34,52,37,60,29,31
Distance: 51,50,33,7,35,41,54,29,43,48,39,54,36,62,83
답변 (1개)
A. Sawas
2019년 4월 14일
boxplot([W1;W2]','notch','on','Labels',{'recent windspeeds','last years windspeeds'})
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!