StemBar

버전 1.1.0.0 (1.86 KB) 작성자: Grzegorz Knor
Function similar to the matlab stem3 but drawing bars instead of lines with markers.
다운로드 수: 1.1K
업데이트 날짜: 2010/10/9

라이선스 보기

h = StemBar(x,y,z,color,width)
Function is similar to stem3, but instead of lines with markers plotting
3d bars

Usage:
StemBar(x,y,z) - draws bars with a height z at the values specified in x
and y. x, y, z - should be a vectors.
StemBar(z) - draws bars with a height z at the xy-plane
StemBar(...,color) - If color is a single character string chosen from the
list 'r','g','b', 'c','m','y','w','k', or an RGB row vector triple,
[r g b], the bars are filled with the constant specified color. If color
is a vector of length numel(x)*6 each faces will be filled with specified
color in the corresponding row.
StemBar(...,width) - specified a width of bars
h = StemBar(...) - return a handle

example:
StemBar(100*rand(25,1),100*rand(25,1),100*rand(25,1),rand(150,1)',2)

h = StemBar(1:10);

Author: Grzegorz Knor
e-mail: gknor@ippt.gov.pl

인용 양식

Grzegorz Knor (2024). StemBar (https://www.mathworks.com/matlabcentral/fileexchange/28513-stembar), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Bar Plots에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

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

It was an error in example.

1.0.0.0