Why is my subplot title in bold?

40 ビュー (過去 30 日間)
Jurrien Plijter
Jurrien Plijter 2020 年 6 月 12 日
コメント済み: Rena Berman 2020 年 10 月 12 日
Hi, I encounter a strange plotting behaviour. I use the command:
sgtitle
to insert a title above my subplots. Using this command, some figures appear to plot the title in bold, while others show 'normal' text. I prefer the latter. Please see the figures below. It really looks like a bug to me. It is a minor issue, but i would like to get all titles in plain text instead of bold. How can i fix this?
set(0,'defaulttextinterpreter','latex');
%% Code for Bold plot: (unprefered)
subplot(1,2,2); hold on
sgtitle('Steady Aerodynamic Model');
for k=1:1:length(real_p)
plot(v(j),real_p(k),'.k','MarkerSize',6);
end
xlabel(' v [m/s]'); ylabel( 'real $${\sigma}$$');grid on; hold off
subplot(1,2,1); hold on
for l=1:1:length(imag_p)
plot(v(j),imag_p(l),'.k','MarkerSize',6);
end
xlabel(' v [m/s]'); ylabel( 'imag $${\omega}$$');grid on; ylim([0 50]);
hold off
%% code for 'normal plan text' plot (prefered:)
sgtitle({'Steady Aerodynamic Model Theodorsen'})
subplot(1,2,1); hold on
plot(v,imag(p_final),'.k')
xlabel(' v [m/s]'); ylabel( 'imag $${\omega}$$');grid on; ylim([0 50]);
subplot(1,2,2); hold on
plot(v,real(p_final),'.k')
xlabel(' v [m/s]'); ylabel( 'real $${\sigma}$$');grid on;
Bold:
Not bold (prefered):
  7 件のコメント
madhan ravi
madhan ravi 2020 年 6 月 13 日
Thank you Rik!
Rena Berman
Rena Berman 2020 年 10 月 12 日
(Answers Dev) Restored edit

サインインしてコメントする。

回答 (1 件)

madhan ravi
madhan ravi 2020 年 6 月 12 日
  2 件のコメント
Jurrien Plijter
Jurrien Plijter 2020 年 6 月 12 日
Doesn't change anything. If i select 'bold' by that setting, the title appears even bolder than it already is.
madhan ravi
madhan ravi 2020 年 6 月 12 日
Yes you’re right didn’t test it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by