How to input more than one Greek Letter on legend

1 次查看(过去 30 天)
I want to insert legend for more than one signal. This code only works for one and when I try to insert another legend it says unknown property. Also inserting symbols are not quite clear to me,what mistake am I making in title too. Since that theta is not showing up.
l = legend({'$\hat{\theta}(t)$'});
set(l,'interpreter','latex')
title('Estimated Signal {\theta} using Adaptive Oscillators')
xlabel('Time')
ylabel('Amplitude')

回答(0 个)

类别

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