필터 지우기
필터 지우기

How to put a 3D bar graph besides a gray scale image?

조회 수: 2 (최근 30일)
Arash
Arash 2012년 9월 13일
Hi everybody,
I have a question,I tried to put a 3D bar graph besides a gray scale image, but the color of 3D bar graph changed to gray, do you know how to prevent this so that each graph has its own color?
here is the sample which I've tried;
%---------------------------------------
C = imread('cameraman.tif');
subplot(1,2,1);
imshow(C,[]);
V=[0 0 11 7 6 3 12 9 12 3 40];
subplot(1,2,2);
bar3(V);
%---------------------------------------
Thanks,
Arash

채택된 답변

Kevin Claytor
Kevin Claytor 2012년 9월 13일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Display Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by