Limits on data size for matlab plots? | 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
Limits on data size for matlab plots?
Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
1
August 28, 2016 - 5:55 am
sp_Permalink sp_Print

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.

Avatar
Adarsh_Murthy

Forum Posts: 59
sp_UserOfflineSmall Offline
2
August 29, 2016 - 10:06 am
sp_Permalink sp_Print

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

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
3
August 29, 2016 - 7:05 pm
sp_Permalink sp_Print

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

Forum Timezone: America/New_York

Most Users Ever Online: 114

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

winnieeq69

AutoCheernpen

Bostermet

engladNed

iivenul

olewaeayafaku

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee