Too Many Labels on the X axis in Boxplot

Hello, everyone. The following code makes a boxlpot with a cluttered x axes. Is there a way to display less strikes from the optionsChange table? The commented lines would help either since the strikes are offset very much to the right.
figure;
% boxplot(optionsChange.Bid_Ask_Change(1:10:end), optionsChange.Strike(1:10:end), 'labelverbosity','minor');
boxplot(optionsChange.Bid_Ask_Change, optionsChange.Strike, 'labelverbosity','minor');
% boxplot(optionsChange.Bid_Ask_Change, linspace(min(optionsChange.Strike), max(optionsChange.Strike), 30), ...
% 'labels', linspace(min(optionsChange.Strike), max(optionsChange.Strike), 30));
% set(gca,'XTick',linspace(min(optionsChange.Strike), max(optionsChange.Strike), 30));
% set(gca,'XTickLabel',linspace(min(optionsChange.Strike), max(optionsChange.Strike), 30));
title(sprintf('%s Доходность %s Calls за %g дней до события %s по Страйкам', Ticker, optionDirection, start_end_time_days, datestr(endDate)));
xlabel('Cтрайки');
ylabel('Доходность (раз)');

댓글 수: 1

xticklabel_rotate([],90,[],'Fontsize',5); helps a bit, but still it's a nightmerish solution

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Log Plots에 대해 자세히 알아보기

태그

질문:

2015년 11월 8일

편집:

2015년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by