Skip to content

Problems in "Serial Plotter" Y-axis resolution (1.6.6 Hourly build 2015/09/04) #3767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
q2dg opened this issue Sep 6, 2015 · 2 comments
Closed
Assignees
Labels
SerialPlotter Tools > Serial Plotter Type: Bug
Milestone

Comments

@q2dg
Copy link

q2dg commented Sep 6, 2015

Hello.
I've detected two problems.

First
If I execute...:

void setup() {  Serial.begin(9600); }
void loop() {  Serial.println(2);  }

...value 2 is shown at the top of Serial Plotter but Y-axis doesn't show the numerical coordinates. If I put a greater value (like 10, for instance), then it's fine.

Second
If I execute...

void setup() {  Serial.begin(9600); }
void loop() {  Serial.println(random(55));  }

...graph is shown fine, but if I add a delay after Serial.println() (only if delay time is more than 700ms aprox.!!) , the Y-axis boundaries are not updated accordingly, showing always from 0 to 400 values (and not from 0 to 60 or similar, as expected).

Thanks

@ffissore ffissore assigned cmaglie and ffissore and unassigned cmaglie Sep 7, 2015
@ffissore ffissore added Component: IDE The Arduino IDE Component: IDE user interface The Arduino IDE's user interface labels Sep 7, 2015
@ffissore
Copy link
Contributor

ffissore commented Sep 8, 2015

Fixed. Fix will be available in next hourly build. http://www.arduino.cc/en/Main/Software#hourly

As for the effect due to the delay, it's due to the size of the buffer used by the plotter: Y axis uses min and max buffer values, some initial value is higher than all the subsequent values, but until the buffer exhausts (and the plot slides to the left) that Y axis will keep on show greater values than expected

@ffissore ffissore added this to the Release 1.6.6 milestone Sep 8, 2015
@q2dg
Copy link
Author

q2dg commented Sep 10, 2015

Ok, thanks

sandeepmistry pushed a commit to sandeepmistry/Arduino that referenced this issue Sep 29, 2015
SerialPlotter now uses min/2 and max*2 instead of plain min and max
Ticks works also when min == max
Fixes arduino#3767
@per1234 per1234 added SerialPlotter Tools > Serial Plotter Type: Bug and removed Component: IDE The Arduino IDE Component: IDE user interface The Arduino IDE's user interface labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SerialPlotter Tools > Serial Plotter Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants