background color | MATLAB | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
background color
Avatar
gillesroszak

Silver
Forum Posts: 6
sp_UserOfflineSmall Offline
1
November 1, 2017 - 12:40 pm
sp_Permalink sp_Print

Hi everyone, 

How can i change the color of graph background  in matlab visualization ??

Is there any solution? 

 

Thank you for your answers

here is my code

% Template MATLAB code for visualizing data using the THINGSPEAKPLOTYY
% function.

% Prior to running this MATLAB code template, assign the channel ID to read
% data from to the 'readChannelID' variable. Also, assign the field IDs
% within the channel that you want to read data from to 'fieldID1', and
% 'fieldID2'.

% TODO - Replace the [] with channel ID to read data from:
readChannelID = 343953;
% TODO - Replace the [] with the Field ID to read data from:
fieldID1 = 1;
% TODO - Replace the [] with the Field ID to read data from:
fieldID2 = 2;

% Channel Read API Key
% If your channel is private, then enter the read API
% Key between the '' below:
readAPIKey = 'DT410A2H8TT2VPXI';

%% Read Data %%

% Read first data variable
[data1, time1] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 850, 'ReadKey', readAPIKey);

% Read second data variable
[data2, time2] = thingSpeakRead(readChannelID, 'Field', fieldID2, 'NumPoints', 850, 'ReadKey', readAPIKey);

%% Visualize Data %%

thingSpeakPlotYY(time1, data1,time2, data2,'Title','T° sol 15 cm (rouge) & 30 cm(bleu)','Grid','on');

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: cstapels, jacktheripper125
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

Nsneilotof

angieus2

goldiepw11

BinanceoSt

gnarender123@gmail.com

edenderest

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee