필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

concatenate 3 histograms features

조회 수: 1 (최근 30일)
Devika D
Devika D 2018년 5월 10일
마감: Devika D 2018년 5월 16일
<<
>>
these are my 3 histograms ;rlbp_s,rlbp_m,rlbp_c I wpuld like to concatenate these 3 histograms can anyone help me?
  댓글 수: 3
KSSV
KSSV 2018년 5월 10일
YOu concatenate the data you have and then plot.....won't it work?
Devika D
Devika D 2018년 5월 10일
편집: Devika D 2018년 5월 10일
@KSSV Sir,I have tried by concatenating the data and then plot, .but this entirely different from the separate histograms

답변 (1개)

KSSV
KSSV 2018년 5월 10일
Are you looking for something like this?
y1 = rand(5,1) ; x1 = 1:length(y1) ;
y2 = rand(4,1) ; x2 = length(y1)+[1:length(y2)] ;
y3 = rand(7,1) ; x3 = length(y1)+length(y2)+[1:length(y3)] ;
figure
hold on
bar(x1,y1,'r')
bar(x2,y2,'g')
bar(x3,y3,'b')
xticks([min(x1):1: max(x3)])
  댓글 수: 1
Image Analyst
Image Analyst 2018년 5월 11일
See this format your code, or better yet, for something this long, just attach your m-file with the paper clip icon.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by