search for: weightcomply

Displaying 1 result from an estimated 1 matches for "weightcomply".

2009 Mar 20
2
plotting two variables with a third used for color
...s case, say I wanted values greater than 0 to be "blue" and values less than 0 to be "red" Basically, my question is how can one plot something like the function shown above, but with the added functionality of indicating color for a third variable Something to the effect: if(weightComply[0:15,3]>0) //if the values from 0 to 15 in column 3 are greater than 0 plot(wV[0:15,3],wY[0:15,3],col="blue") //then plot the dots as blue else plot(wV[0:15,3],wY[0:15,3],col="red") //otherwise plot the dots red I know this syntax is wrong, but I think it shows what I...