Brush: How can I change the font color of the displayed X and Y range?

1 回表示 (過去 30 日間)
Hans-Juergen Nitzpon
Hans-Juergen Nitzpon 2024 年 6 月 5 日
In my App in App Designer the background color of the figures is black. Therefore the displayed X and Y ranges (highlighted in yellow in the image above) should have white as font color. It is possible to change this font color?
  1 件のコメント
Hans-Juergen Nitzpon
Hans-Juergen Nitzpon 2024 年 6 月 6 日
This does not solve my problem. When "brush" is activated, I select a range (red rectangle) by left mouse click and moving over the data points. Below the rectangle, the X and Y ranges of ths rectangle is displayed. The font color is black. Because I have figures with black background, I need white font color. It's about figures in an App in Matlab App Designer. Therefore I need code to solve the problem.

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

回答 (1 件)

Alan Stevens
Alan Stevens 2024 年 6 月 5 日
Select the Property Inspector, select the text, choose a color.
(The following code is just to get the image uploaded)
I=imread('TextColor.png');
imshow(I)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by