Bar from logical matrix [0*1]

1 Ansicht (letzte 30 Tage)
Ali Noori
Ali Noori am 9 Jan. 2015
Beantwortet: Edward Groce am 28 Mai 2020
Hi Guys, Can anyone help me to obtain this Fig. below from logical matrix thx

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Jan. 2015
Try this:
fontSize = 20;
Matrix = [1, 1, 1, 0, 0, 1, 1, 0, 0, 1]
bar(Matrix, 'FaceColor', 'r');
ylim([0, 6]);
ylabel('Magn.', 'FontSize', fontSize, 'FontName', 'Times new roman', 'FontWeight', 'Bold');
xlabel('Time', 'fontSize', fontSize, 'FontName', 'Times new roman', 'FontWeight', 'Bold');
title('Matrix = [1, 1, 1, 0, 0, 1, 1, 0, 0, 1]', 'FontSize', fontSize, 'FontName', 'Times new roman', 'FontWeight', 'Bold');
If you really want to erase the 5 and the 6 from the y axis tick marks, let me know.

Weitere Antworten (1)

Edward Groce
Edward Groce am 28 Mai 2020
Bar and logics have been investigated for the division the goals for humans. Matrix and writing services australia is elevated for the challenges for the individuals. process is filed for the top of the new mode for all good moves for the true ways for the field work.

Kategorien

Mehr zu Graphics Object Properties 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