Note that there are some explanatory texts on larger screens.

plurals
  1. POChange the circumferential radial grid segment lines color in the radial.plot function. Plotrix
    primarykey
    data
    text
    <p>I have two datasets which contain <code>values</code> for a radial plot and <code>colors</code> for the radial grid lines of this plot. </p> <p>First dataset:</p> <pre><code>#data 1 values &lt;- c(0.179615044, 0.011908401, -0.342792441, -0.154263864, -0.251553369, -0.234413350, 0.150411419) colors &lt;- c("black", "black", "red", "red", "red", "black", "black") </code></pre> <p>Second dataset:</p> <pre><code>#data 2 values &lt;- c(0.88582075, 0.80089077, 0.79452764, 0.77835694, -0.06816896, 0.24024556, -0.02023557, 0.28804668, -0.88184648, 0.93711689) colors &lt;- c("red", "red", "red", "red", "black", "black", "black", "black", "red", "red") </code></pre> <p>When I make the radial plots with the following function, I get plots with either colored circular grid lines or non colored circular grid lines. Both plots have the correct radial grid lines colored red.</p> <pre><code>library(plotrix) #plotrix radial plot radial.plot(values, grid.col=colors, rp.type="p") </code></pre> <p>How do I get the radial grid lines the get colored and not the circular grid lines? Is <code>grid.col</code> the wrong argument the use here?</p> <p>correct image from dataset 1 (black circular grid + highlighted radial grid lines):</p> <p><a href="http://i.imgur.com/5e9mJys.png" rel="nofollow">http://i.imgur.com/5e9mJys.png</a></p> <p>incorrect image from dataset 2 (red circular grid + highlighted radial grid lines):</p> <p><a href="http://i.imgur.com/NRFPetY.png" rel="nofollow">http://i.imgur.com/NRFPetY.png</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload