Syntax: [ edgesX,edgesY,count ] = cloudplot( X, Y, nbins )
Example:
X=[sort(randn(10000,1)) ; 0.5*randn(3000,1)-2];
Y=[linspace(0,1,10000)' ; ones(3000,1)*0.8]+0.05*randn(13000,1);
subplot(121)
plot(X,Y,'k.')
axis([-3.5,3.5,-0.05,1.05]), box off
colorbar
subplot(122)
cloudplot( X, Y, 100 );
axis([-3.5,3.5,-0.05,1.05]), box off
colormap(flipud(gray))
colorbar
caxis([0 30])
인용 양식
R P (2024). cloudplot( X, Y, nbins ) (https://www.mathworks.com/matlabcentral/fileexchange/60882-cloudplot-x-y-nbins), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Help Center 및 MATLAB Answers에서 Contour Plots에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |