Making Latex title centered

Hi Scilab team, how do i make this title centered as alignment for a nicer view?

title("$ISE-Ping\ \\\vartheta_{amb}=23 ^\circ C\ /\  \varphi_{amb}=30\%r.H.\ /\ p_{amb}=101325Pa\ /\ \overrightarrow{w}_{amb}=0.0m/s$",'color','black','fontsize',4);

Hello,

Use the array environment with c alignment character:

title("$\begin{array}{c}ISE-Ping\\vartheta_{amb}=23 ^\circ C\ /\  \varphi_{amb}=30\%r.H.\ /\ p_{amb}=101325Pa\ /\ \overrightarrow{w}_{amb}=0.0m/s\end{array}$",'color','black','fontsize',4);

S.

2 Likes