MATLAB Answers

Figure title is covered - Ubuntu

2 views (last 30 days)
Eddie on 11 Jan 2018
Commented: Eddie on 15 Jan 2018
MATLAB Version: Ubuntu 16.04
When I create a figure with a two line title on Ubuntu, the top of the first line is almost completely covered. Is there a work-around for this?

Accepted Answer

Jan on 11 Jan 2018
Reduce the font size or the size of the axes.
This does not concern Linux, but it is the expected behavior under Matlab.
  1 Comment
Eddie on 15 Jan 2018
Thanks Jan I added the font as below and it certainly helps.
title({strrep(filename, '_', '\_'); [( ' ' comment]},'fontsize',10);

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!