Changing font colors for syntax and a plotting question

Hello,

Are you using Rmd document ? Or maybe Rnw ?
What is your output ? PDF ? HTML ?

These informations are required to help with customisation of output.

Also having a reproducible example will help with issues.

(FAQ: What's a reproducible example (`reprex`) and how do I do one?)