Displaying 1 result from an estimated 1 matches for "zvalues_neg".
2010 Apr 14
1
Problems getting symbols() to show table data
...nto two and plot separately:
Data_positive = replace(Read_data, Read_data<0,0)
Data_negative = -replace(Read_data, Read_data>0,0)
However, this quick trial below gives little dots for zero values, so it is
not a perfect result:
zvalues_pos = rep(c(0.1,0.2,0), 4) #Dummy vector for positives
zvalues_neg = rep(c(0,0,0.3), 4) #Dummy vector for negatives
symbols(xaxis, yaxis, circles = zvalues_pos, inches = FALSE, xlab="",
ylab="", bg="blue")
symbols(xaxis, yaxis, circles = zvalues_neg, inches = FALSE, xlab="",
ylab="", bg="red", add=TRUE)...