Adding subtitle to the plot

조회 수: 74 (최근 30일)
Turbulence Analysis
Turbulence Analysis 2022년 3월 24일
댓글: Turbulence Analysis 2022년 3월 24일
Hi,
I am trying to add subtile to my plots, however, I am getting the below error..
Actulaly, I am uisng Matlab 2018.. Will this function work only in latest versions ??
Undefined function 'subtitle' for input arguments of type 'char'.
  댓글 수: 1
Arif Hoq
Arif Hoq 2022년 3월 24일
can you please attach your data and code ?

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

채택된 답변

Alan Stevens
Alan Stevens 2022년 3월 24일
In Matlab 2018 try
title({'Main title text';'subtitle text'})
(Note the curly brackets)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by