Title is overraped to graph legend. How to detach them?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NoYeah
am 16 Jan. 2023
Beantwortet: Kartikay Sapra
am 16 Jan. 2023

As you see, graph unit legend and graph title is overlapped.
Is there any way to increase span between graph titles and grahps?
0 Kommentare
Akzeptierte Antwort
Kartikay Sapra
am 16 Jan. 2023
A workaround is to explicitly add a new line to your title by using '\n'. This approach will add a blank line between the graph and the title. Refer to the following example.
plot((1:100).^2);
title('My Curve');
%Note the changes in this plot
plot((1:100).^2);
text = sprintf('My Curve\n');
title(text, 'Interpreter', 'latex');
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

