Displaying 2 results from an estimated 2 matches for "alphaexampl".
Did you mean:
alphaexample
2005 Aug 08
3
use different symbols for frequency in a plot
suppose I have the following data
x<-c(rep(.1,5),rep(.2,6),rep(.4,10),rep(.5,20))
y<-c(rep(.5,3),rep(.6,8),rep(1.2,8),rep(2.5,18),rep(3,4))
If I plot(x,y) in R, I will only get seven distinct
points. What I want to do is to use different symbols
to show the frequency at each point.
e.g. if the frequncey is between 1 and 5, then I plot
the point as a circle; if the frequency is between 6
2007 Mar 05
4
Identifying points in a plot that have duplicate values
I have code like this: -
#-----------------------------------------------------------------------
------------------------------------------------------
x=scan()
0 0 0 0 0 1 2 3 4
y=scan()
1 1 1 2 2 1 3 4 5
plot(x,y)
identify(0,1,3) #Allows me to select manually to identify co-ordinate
(0,1) as being duplicated 3 times
identify(0,2,2) #Allows me to select manually to identify co-ordinate