#define Dig_pin 7

int Dig_out = 0;
int Ana_out = 0;

void setup() {
  Serial.begin(9600);
  pinMode(Dig_pin, INPUT);
  pinMode(A0, INPUT);
}

void loop() {
  Dig_out = digitalRead(Dig_pin) * 100; // scaled so you can see it clearly
  Ana_out = analogRead(A0);

  // IMPORTANT: Only numbers, separated by space or comma
  Serial.print(Ana_out);
  Serial.print(" ");
  Serial.println(Dig_out);

  delay(10); // small delay for smoother plotting
}