Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

concatenate 3 histograms features

1 Ansicht (letzte 30 Tage)
Devika D
Devika D am 10 Mai 2018
Geschlossen: Devika D am 16 Mai 2018
<<
>>
these are my 3 histograms ;rlbp_s,rlbp_m,rlbp_c I wpuld like to concatenate these 3 histograms can anyone help me?
  3 Kommentare
KSSV
KSSV am 10 Mai 2018
YOu concatenate the data you have and then plot.....won't it work?
Devika D
Devika D am 10 Mai 2018
Bearbeitet: Devika D am 10 Mai 2018
@KSSV Sir,I have tried by concatenating the data and then plot, .but this entirely different from the separate histograms

Antworten (1)

KSSV
KSSV am 10 Mai 2018
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 Kommentar
Image Analyst
Image Analyst am 11 Mai 2018
See this format your code, or better yet, for something this long, just attach your m-file with the paper clip icon.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by