Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

R2016a Why my title don't centralize?

1 view (last 30 days)
Leilane Passos
Leilane Passos on 13 Dec 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I started using the matlab R2016a recently and the title of my figures are not getting centralized. How can I fix this?
  3 Comments
Leilane Passos
Leilane Passos on 14 Dec 2017
Edited: Walter Roberson on 14 Dec 2017
My command is:
title(['MAE Salinidade do ' exp_title_ROMS{index} ' - mean = ' sprintf('%0.2f',(nanmean(nanmean(mae_mean_roms.salt.(exp{index}))))) '']);
and saved with:
export_fig(['~/ROTINAS/MATLAB/MAE/figuras/MAE_SALT_' exp_title_ROMS{index} '.eps'], '-depsc','-dEPSCrop','-noinvert');
Walter Roberson
Walter Roberson on 14 Dec 2017
I seem to recall that R2016a had problems with title size and position when exporting to pdf, but when I search around I cannot find any postings about that, so I might be thinking of a different release.
In the meantime, try setting a fontname for the title; also experiment with a shorter title to see if the same bug arises.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!