Trouble setting axis tick label size/weight (R2013b)
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello all. I have R2013b running on a Mac (OS X 10.8.5) and am running into trouble changing the font size and weight of the axis tick labels. Here is the code I'm using:
load('carsmall')
v4 = Cylinders==4 ;
figure ;
boxplot(MPG,v4,'labels',{'v6+','v4'})
set(gca,'FontSize',14,'FontWeight','bold')
When I run this, the Y-axis tick labels change to 14-point font but they are not bolded. The X-axis tick labels do not change at all. What am I doing wrong?
Thanks in advance.
댓글 수: 2
Doug Hull
2013년 11월 15일
v4 = Cylinders==4
I doubt this line of code does what you think it does. What is the variable Cylinders, and what do you expect this line of code does?
답변 (1개)
Ilyas
2013년 12월 27일
You can find the answer to your question in the following thread:
Regards,
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!