Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This question already has an answer here:

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

share|improve this question

marked as duplicate by Kuba, Verbeia Sep 20 '13 at 3:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

1 Answer 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

share|improve this answer

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