It is possible to display 3 sensor values on the same graph in Serial Plotter?

Hello,

I am looking for a way to display 3 separate sensor values (on the Y axis) against time (X axis) in real-time on the same graph. How to do this in Serial Plotter? Is it even possible? From what i found, it seems to be possible to graph only 2 variables against time. Any suggestions? I would like to use this to plot PID values directly from Arduino since the latter is the only micro-controller used in this project.

Thanks in advance for any help.

You can plot as many data elements as you like. Just separate each data element with a comma, then a newline (Serial.println()) to separate each set of readings. Here's an example of plotting the analog readings from pins A0, A1, A2 on the same graph:

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.print(analogRead(A0));
  Serial.print(',');
  Serial.print(analogRead(A1));
  Serial.print(',');
  Serial.print(analogRead(A2));
  Serial.println();
}