Limits on data size for matlab plots? | 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
Limits on data size for matlab plots?
No permission to create posts
August 28, 2016
5:55 am
Avatar
rw950431

Top
Members
Forum Posts: 261
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

Attempted to plot 3 days worth of 5 minute data (https://thingspeak.com/apps/matlab_visualizations/89640) but the matlab visualisation gives the following error:-

ThingSpeak cannot display the amount of data requested. Reduce the size of the output or suppress the output with a semicolon.

 

I calculated that 5 min data for 3 days should only be 864 points.

 

What is the limit?  Less than 1000 data points doesn't seem very generous.

August 29, 2016
10:06 am
Avatar
Adarsh_Murthy

MathWorks
Members
Forum Posts: 62
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

There are two topics here: 

1. Number of characters displayed in the "Output" window of a MATLAB Analysis or Visualization App page

2. Number of points to be visualized in a plot

The error message that is generated for your case is due to topic #1 - too many characters are being returned to the "Output" window. 

Since I don't have your code, the general suggestion to resolve this error is to end your MATLAB commands with a semicolon ";". This prevents the LHS arguments from being printed to the "Output" window. 

For example:

- Return characters to Output window

data = thingSpeakRead(12397)

- Do not return characters to Output window

data = thingSpeakRead(12397);

 

If this doesn't resolve the error, share your code and I might be able to find the cause of the error.

-Adarsh

August 29, 2016
7:05 pm
Avatar
rw950431

Top
Members
Forum Posts: 261
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

Thanks Adarsh.. adding the trailing semi-colons fixed it.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
18 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:

celinabw2, FitoSprayscroma, LunnonGor, lancevl16, bernicenk60, veronicadq18

Administrators: Hans: 387, lee: 457