search for: sizeplot

Displaying 4 results from an estimated 4 matches for "sizeplot".

2001 Sep 09
0
plots with symbols proportional to number of repeats
...in a plot where the sizes of the symbols were proportional to the number of repeats in the data (I have them plotting discrete data, so there are often overlaps). Here's the solution I came up with, which seems clever (to me) but not necessarily the best way. Can anyone suggest improvements? sizeplot <- function(x,y,maxsize=0.2, xlab=deparse(substitute(x)), ylab=deparse(substitute(y)), ...) { pair <- function(x,y) { paste(x,y,sep="/") } unpair <- function(x) { t(sapply(strsplit(x,"/"),as.nu...
2005 Jul 21
2
bubble.plot() - standardize size of unit circle
Hello, I wrote a wrapper for symbols() that produces a bivariate bubble plot, for use when plot(x,y) hides multiple occurrences of the same x,y combination (e.g. if x,y are integers). Circle area ~ counts per bin, and circle size is controlled by 'scale'. Question: how can I automatically make the smallest circle the same size as a standard plot character, rather than having to
2009 Jul 15
4
duplicate data points on a line graph
Hi, I am new to R plot. I am trying to increase the data point observation when duplicate data points exist x y 1 10 1 10 2 3 4 5 9 8 in the about example 1, 10 would be displayed larger than the other data points. Could someone give me some assistance with this problem 757-864-7114 LARC/J.L.Shipman/jshipman Jeffery.L.Shipman at nasa.gov
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