I need to add error bars to the "scatter" portion of the scatterhistogram plot.
조회 수: 6 (최근 30일)
이전 댓글 표시
I need to add error bars to the "scatter" portion of the scatterhistogram plot, but scatterhistogram does not support "hold on". Is there a way I can overcome this?
댓글 수: 1
Star Strider
2022년 11월 10일
I created a scatterhistogram plot using data from the documentation and then looked at its properties. It doesn’t have a separately-addressable scatter plot that I can see by looking through them.
However if you use the older scatterhist function, it does have a distinct scatter plot you could probably plot the error bars on. I haven’t tried that, so I can’t be certain.
load fisheriris
x = meas(:,1);
y = meas(:,2);
hs = scatterhist(x,y)
scp = hs(1)
.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!