0
$\begingroup$

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

$\endgroup$
  • $\begingroup$ PlotStyle? Do not g**gle, press F1. And about GridLines, well, there is an option GridLinesStyle too. $\endgroup$ – Kuba Sep 20 '13 at 2:21
  • $\begingroup$ Perfect, thank you! $\endgroup$ – Hawk Sep 20 '13 at 2:26
  • $\begingroup$ closely related $\endgroup$ – Kuba Sep 20 '13 at 2:39
1
$\begingroup$

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

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.