Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matlab: Overlapping subplot titles

Tags:

matlab

subplot

I'm using subplot which contains three different plots. Each plot has its own labels and title.
The problem is that I have to maximize the plot when I save it. Otherwise, the texts will overlap each other.
When I maximize it, the subplot's label text will appear little blurry in the image, even if I use ESP format or any vector format.
How can I resolve this issue?

like image 506
hola Avatar asked May 15 '26 20:05

hola


1 Answers

For the title overlap issues, you can produce multiple lines of title text use a cell array of strings as the input parameter of title():

title_text = {'first line', 'second line', 'third line'};
title(title_text);

And it works for label text too.

like image 82
Da Kuang Avatar answered May 18 '26 10:05

Da Kuang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!