overlay 2 histograms one over the other

조회 수: 3 (최근 30일)
sani
sani 2020년 5월 19일
Hello,
I'm ploting my data as histograms (there are 2 data sets, one is the original and the other is the the same set that been processed- basicly the relation between them is the X axis)
I want to present the 2 sets one over the other, but what I'm getting is this
how can I make the picks to be one over the other? as they are in the real data sets
another thing, is theres a way to present histogram as semi logarithmic with respect to Y axis?
Ge_energy = Ge_energy*0.3;
Ge_table.energy = Ge_table.energy*0.3;
figure(2)
histogram(Ge_energy,'DisplayStyle','stairs','BinWidth',0.1)
hold on
histogram(Ge_table.energy,'DisplayStyle','stairs','BinWidth',0.1)

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by