graphics - Conditional Background of a plot in R -


I want to know how to make such a conditional background background This time this can be calculated by series or any other For example, for example, I have two series when the value of the first is positive, the background value on the second plot is green, otherwise it is red.

Enter image details here

< Div class = "post-text" itemprop = "text">

Here's a way to do this.

  x    

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -