background color | MATLAB | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
background color
No permission to create posts
November 1, 2017
12:40 pm
Avatar
gillesroszak

Silver
Members
Forum Posts: 6
Member Since:
October 12, 2017
sp_UserOfflineSmall Offline

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:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

BarryMaync, ThomasRougs, DonaldGen, prince, JrGordon, Elamsweems

Administrators: Hans: 387, lee: 457