hello. why i cannot edit the title.

조회 수: 17 (최근 30일)
ebie irene
ebie irene 2018년 12월 27일
답변: Image Analyst 2018년 12월 27일
i try to change the title but the output title still remain the same :
ylabel('Frequency [kHz]','Parent',axeAct);
  댓글 수: 3
ebie irene
ebie irene 2018년 12월 27일
same goes to xlabel.
per isakson
per isakson 2018년 12월 27일

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

답변 (1개)

Image Analyst
Image Analyst 2018년 12월 27일
That line of code changes the text beside the vertical, Y, axis, not the "title" over the whole graph.
Use title() if you want to change the title over the whole graph.
title(axeAct, 'Frequency [kHz] vs. X'); % Change title
ylabel(axeAct, 'Frequency [kHz]'); % Change y label
xlabel(axeAct, 'X'); % Change x label

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by