MATLAB Answers

Figure title is covered - Ubuntu

2 views (last 30 days)
Eddie
Eddie on 11 Jan 2018
Commented: Eddie on 15 Jan 2018
Hi
MATLAB Version: 9.1.0.441655 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
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
Eddie on 15 Jan 2018
Thanks Jan I added the font as below and it certainly helps.
title({strrep(filename, '_', '\_'); [(fileInfo.date) ' ' comment]},'fontsize',10);

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!