Clear Filters
Clear Filters

How to input more than one Greek Letter on legend

1 view (last 30 days)
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')

Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!