0

Exactly as title says. I do not know why I am having so much trouble with this. I have googled many solutions and I cannot find a straightforward answer.

Also, the only method I know is "Gridlines" and there is no option to change colour

Lemon
  • 631
  • 8
  • 18

1 Answers1

1

Here's an example that uses GridLines that are specific colors at specific positions:

Plot[Sin[x], {x, 0, 10}, PlotStyle -> Directive[Red, Thick], 
 GridLines -> {{{Pi, Blue}, {3 Pi, Orange}}, None}]

enter image description here

Brett Champion
  • 20,779
  • 2
  • 64
  • 121