Bar from logical matrix [0*1]

조회 수: 3 (최근 30일)
Ali Noori
Ali Noori 2015년 1월 9일
답변: Edward Groce 2020년 5월 28일
Hi Guys, Can anyone help me to obtain this Fig. below from logical matrix thx

채택된 답변

Image Analyst
Image Analyst 2015년 1월 9일
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.
  댓글 수: 1
Ali Noori
Ali Noori 2015년 1월 9일
Thank you Sir. It works well

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Edward Groce
Edward Groce 2020년 5월 28일
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.

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by