필터 지우기
필터 지우기

Default title color for tiledlayout

조회 수: 9 (최근 30일)
Selim Öngüdü
Selim Öngüdü 2022년 8월 19일
댓글: Selim Öngüdü 2022년 10월 7일
Hi,
I am using the following code to make all my figures black with white text.
set(0,'DefaultFigureColor',[0 0 0])
set(0,'DefaultAxesColor',[0 0 0])
set(0,'DefaultAxesXColor',[1 1 1])
set(0,'DefaultAxesYColor',[1 1 1])
set(0,'DefaultAxesZColor',[1 1 1])
set(0,'DefaultTextColor',[1 1 1])
set(0,'DefaultAxesGridColor',[1 1 1])
set(0,'defaultAxesXGrid','on')
set(0,'defaultAxesYGrid','on')
This works. When I make tiledlayouts the titles of the individual tiles are white like I want, but the title for the whole tiledlayout is grey. I am using the following code.
figure('WindowState','maximized')
tlo = tiledlayout(3,3,"Padding","compact","TileSpacing","compact");
% Plotting...
title(tlo,'myTitle')
I know that I can use
title(tlo,'myTitle','Color',[1 1 1])
,but I want the title color to be white by default. I attached a picture of one of the tiles that shows how my plot looks currently. You can bearly see the title of the tiledlayout on the top which is "Gesamtverluste".
Thanks in advance.
Selim

답변 (1개)

Shivansh
Shivansh 2022년 10월 7일
Presently there is no way to set the default color of the title of a tiledlayout. But I have passed this issue to the teams concerned, they might consider this for future releases.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by