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

2 Ansichten (letzte 30 Tage)
Arash
Arash am 13 Sep. 2012
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

Akzeptierte Antwort

Kevin Claytor
Kevin Claytor am 13 Sep. 2012

Weitere Antworten (0)

Kategorien

Mehr zu Display Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by