MATLAB visualization layout problem

I have created very simple MATLAB visualization for my ThingSpeak channel, I have changed visualization background color and added this vocalization to my channel, for some reason which I don't understand I have here one white area which I can't disable:
My code:
hold on
h1 = histogram(allData(:,1));
h2 = histogram(allData(:,2));
h1.NumBins = 10;
h2.NumBins = 10;
title('Temperature');
grid on
set(gca,'color',uint8([238,238,238]))
set(gcf,'color',uint8([238,238,238]))
Do you know how to disable this area or at least change color of the area?

 採用された回答

Vinod
Vinod 2019 年 12 月 18 日

0 投票

The white bar is because the window color does not match the background color of the window in which the figure is displayed. We'll look into addressing this on the server side in an upcoming release.
In the mean time, you can comment the last two lines:
set(gca,'color',uint8([238,238,238]))
set(gcf,'color',uint8([238,238,238]))
and it should look better.

3 件のコメント

Andrej DW
Andrej DW 2019 年 12 月 18 日
The poin is that I want to have a grey bacground, this is the reason why I added:
set(gca,'color',uint8([238,238,238]))
set(gcf,'color',uint8([238,238,238]))
When can we expect new relase?
Vinod
Vinod 2020 年 1 月 15 日
Are you still seeing the issue?
Andrej DW
Andrej DW 2020 年 1 月 16 日
no, it looks perfect now, thank you for your support.
Untitled1.jpg

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

その他の回答 (0 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

ヘルプ センター および File ExchangeThingSpeak についてさらに検索

製品

質問済み:

2019 年 12 月 16 日

コメント済み:

2020 年 1 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by