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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -