Serial Plotter's horizontal scale

Hello,
Maybe I didn't understand how to do, but it would be nice toset the plotter's horizontal scale.

Best regards,

1 Like

Start the line plotter with CTRL-SHFT-L

int t = 0;
void setup() {
  Serial.begin(9600);
  delay(1000);
}

void loop() {
  double a = sin(t / 100.0);
  double b = cos(t / 110.0);
  double c = sin(t / 50.0) + 1;

  // spaces in the label will badly effect display
  Serial.print("a "); Serial.print(a); Serial.print(",");
  Serial.print("b "); Serial.print(b); Serial.print(",");
  Serial.print("c "); Serial.print(c); Serial.print(",");
  Serial.println();
  t++;
  //  delay(40);
}

Hi @alainbo. Thanks for your suggestion. If I understand you correctly, the request is being tracked by the Arduino IDE developers here:

and here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.

1 Like

Yes exactly,
Thanks for this.
Best regards,
Alain

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.