ribboncoloredZ.m

버전 1.1.0.0 (715 KB) 작성자: Kouichi C. Nakamura
ribboncoloredZ() is a wrapper of built-in ribbon() with coloring ribbons according to Z values
다운로드 수: 333
업데이트 날짜: 2016/7/10

라이선스 보기

ribboncoloredZ is a wrapper of buitlin ribbon() and color ribbons according to Z values and axes' colormap.
h = ribboncoloredZ(y)
h = ribboncoloredZ(y,z)
h = ribboncoloredZ(y,z,width)
h = ribboncoloredZ(axh,_____)
INPUT ARGUMENTS
y,z y can be a matrix whose columns are plotted as separate
ribbons. Or, when y and z are provided, they are vectors of
the same size.
width (default) 0.75
(Optional) Width of ribbons in X axis

OUTPUT ARGUMENTS
h Graphic handle vector of surface objects

See also
ribbon, surface, colormap, ribboncoloredZ_script

EXAMPLE USAGE

[x,y] = meshgrid(-3:.5:3,-3:.1:3);
z = peaks(x,y);
ribboncoloredZ(y,z);
xlabel('X');ylabel('Y');zlabel('Z');

ribboncoloredZ_script.mlx included in the zip file illustrates the outcome of the above example.
https://www.mathworks.com/matlabcentral/fileexchange/57909-ribboncoloredz-m/content/ribboncoloredZ_scrpit.mlx

See also
http://stackoverflow.com/questions/8544823/how-to-make-colour-indicate-amplitude-in-matlabs-ribbon-plot

인용 양식

Kouichi C. Nakamura (2024). ribboncoloredZ.m (https://www.mathworks.com/matlabcentral/fileexchange/57909-ribboncoloredz-m), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

typo
link

1.0.0.0

minor
example added