remove x-value for a group bar plot

조회 수: 10 (최근 30일)
sahar
sahar 2017년 6월 13일
답변: sahar 2017년 6월 13일
I try to plot a group bar with some names as its x value. I know that I can change the x values with "set(gca, 'XTick',1:4, 'XTickLabel',{'LMAT' 'OPT-EC' 'SCAN' 'Zcurve'})" . but my problem is that when i use this command these lables will be written on the random values that exists. I try to remove the random values with "set(gca,'XTick',[])" but it does not work in this case. any idea?

답변 (1개)

sahar
sahar 2017년 6월 13일
I want to remove the numbers below x-axis.I tried "set(gca,'XTickLabel',[])" but it does not work in this case

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by