79262179

Date: 2024-12-08 09:46:20
Score: 1.5
Natty:
Report link

The reason why there is no legend say by default is because the color argument is set out of aes:

geom_line(data=Sandusky8, aes(x=ProperDateTime, y=TKN, color='grey54'))

That being said, you would usually 'plug' it on some variable and tune the color using one of the scale* function.

Here is an example output (with dummy data)

plot with color inside aes()

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: thekangaroofactory