ebpatch(x, y, er, col, alp)

버전 1.0.0.0 (617 Bytes) 작성자: Ryosuke F Takeuchi
Making patch plot with simple interface
다운로드 수: 97
업데이트 날짜: 2017/12/5

라이선스 보기

Making patch plot with simple interface
Inspired by
boundedline.m (https://jp.mathworks.com/matlabcentral/fileexchange/27485-boundedline-m)

```
x = rand(512*2,1);
y = 4*x + randn(size(x));
y2 = 1*x + randn(size(x));

[yv, ev, ~] = xbinavg(x, y, 0:.05:1, 0);
[yv2, ev2, xv] = xbinavg(x, y2, 0:.05:1, 0);
figure;
scatter(x,y, '.r', 'MarkerFaceAlpha', .2, 'MarkerEdgeAlpha', .5); hold on;
scatter(x,y2, '.b', 'MarkerFaceAlpha', .2, 'MarkerEdgeAlpha', .5);

clear ph lh
[ph(1), lh(1)] = ebpatch(xv, yv, ev, 'r');
[ph(2), lh(2)] = ebpatch(xv, yv2, ev2, 'b');

% - modify design
set(lh, 'LineWidth', 2)
set(ph, 'FaceAlpha', .2)

```
using xbinavg.m (https://jp.mathworks.com/matlabcentral/fileexchange/55222-xbinavg-x--y--xedge--medopt-)

인용 양식

Ryosuke F Takeuchi (2024). ebpatch(x, y, er, col, alp) (https://www.mathworks.com/matlabcentral/fileexchange/65305-ebpatch-x-y-er-col-alp), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Polygons에 대해 자세히 알아보기
도움

받음: boundedline.m

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0