similar to: Scatterplot with data grouped by color

Displaying 20 results from an estimated 40000 matches similar to: "Scatterplot with data grouped by color"

2011 Oct 02
2
Scatterplot with the 3rd dimension = color?
I have 3 columns of data and want to plot each row as a point in a scatter plot and want one column to be represented as a color gradient (e.g. larger values being more red). Anyone know the command or package for this? Thanks, KB
2006 Feb 01
1
Scatterplot color options in CAR package?
Hi All. I'd like to change the default plotting colors used to construct a scatterplot with regression line in the CAR package. So, scatterplot(y~pred,smooth=FALSE, xlab="X", ylab="Y", lwd=2) If I change the palette (e.g., palette(ranbow(6)), I can change the color of the lines and points. However, the axes and labels remain in black (i.e., the first color in the
2005 Jan 14
1
Colors and legend on a scatterplot?
Hello I am new to R and I cannot overcome the 2 problems 1.Defining my own color scale for a value on a scatterplot 2.Adding legend showing values for colours I have a set of points in area of my research with coordinates X and Y and a value which I would like to show with colors. #values for points are residuals from regression stepmod = step(wmodzad, direction="both") #I am
2008 Mar 07
4
locate the rows in a dataframe with some criteria
Hi, netters, This is probably a rookie question but I couldn't find the answer after hours of searching and trying. Suppose there'a a dataframe M: x y 10 A 13 B 8 A 11 A I want to locate the rows where x >=10 and y="A". I know how to do it to vectors by using which, but how to do it with the dataframe? Thank you very much! Zhihua Li
2010 Nov 21
1
"negative alpha" or custom gradient colors of data dots in scatterplot ?
I know that by setting alpha to for example col = rgb(0, 0, 0, 0.1) it is possible to see how many overlapping is in the plot. But disadvantage of it is that single points are barely visible on the background. So I wonder if there is possible to make setting that single points would be almost black, but with more and more data on the same spot it would get more and more whiteish. Or maybe it is
2009 Feb 04
2
Using color and plotting characters in a scatterplot matrix [Newbie Help]
Hello guys, I have this data set that I imported into R using a line: This data set consists of 7 columns. The two important columns are the first one called 'thrust' and the last one called 'amtemp'. jet<-read.table("jetthrust.txt", fill=T, head=T) I am making a scatterplot matrix simply using the line "pairs(jet)" The problem is that in the last
2010 Jul 07
3
Boxplots over a Scatterplot
Hello- I'm new to R, coding and stats. (Oh no.) Anyway, I have about 12000 data points in a data.frame (dealing with dimensions and geological stage information for fossil protists) and have plotted them in a basic scatter plot. I also added a boxplot to overlay these points. Each worked fine independently, but when I attempt to superimpose them with add=true, I get a different scale for
2008 Mar 28
1
background color in scatterplots
Dear R community, I have a scatterplot with multiple vertical ablines. I wish to color each interval between two ablines in a different color... Could you please indicate me how to do this efficiently? Thank you! Georg. ******************** Georg Ehret Johns Hopkins Baltimore [[alternative HTML version deleted]]
2011 Jul 28
3
smooth scatterplot and geo map
Hello everybody, I'm trying to understand how to draw a smoothed scatterplot on a geographic map with R. Have a dataframe with point locations (long, lat) and was able to simply plot these points on a shp map by using the maptools package. However, instead of having simply the raw points on the map, I would like to have a "smoothed" scatterplot of the same superimposed on the map.
2012 Mar 26
1
Drape 3D scatterplot
Hi, *Warning: R newb here. * I've got a 3D scatterplot ( http://www.fleetwoodswoodworks.com/scatterPlot.jpg) which I want to drape in color, with the draped plane corresponding to the mean z values on the plot (similar to: http://www.fleetwoodswoodworks.com/draped3Dscatterplot.jpg). Does anyone know what package will allow me to do this? I used * scatterplot3d()* for my first plot. I've
2012 Jul 23
3
3D scatterplot, using size of symbols for the fourth variable
Dear R fans, I would like to create a scatterplot showing the relationship between 4 continuous variables. I thought of using the package "scatterplot 3d" to have a 3-dimensional plot and then using the size of the symbols to represent the 4th variable. Does anybody know how to do this? I already tried to create this graph using the colour of the symbols, but I was unable to generate
2010 Feb 05
2
Spider Plot color problem
Hi all, I have encountered a problem which appears to have defeated my (admittedly nascent) R skills. I want to draw a spider plot with many cases (just over 300). I am primarily interested in the difference between 4 categories of cases, and want to display them as different colors. the col.stars parameter does not change the color of the lines (which I'm after), but fills the stars in
2011 Feb 08
1
How to change labels in scatterplot?
Dear all, I'm trying to use "scatterplot" from package "car" to get a scatterplot with row-names as labels and I want my data to be divided into two groups defined by the column "tresh". Leaving away the groups-command gives me the right labels but they are not distinguished by colors according to "tresh". Does anybody know why the following example
2009 Apr 26
4
Scatterplot of two groups side-by-side?
Dear all I'm realy new to R, so I hope you can help me, as I didn't find any solution in the common books. Since some days I'm trying to create the following plot: A scatterplott showning two different groups side-by-side with according regression lines. Both datasets only have the same five factors, so the scatters will form a kind of column at each factor. When I use
2007 May 29
2
summing up colum values for unique IDs when multiple ID's exist in data frame
I have data.frame's with IDs and multiple columns. B/c some of IDs showed up more than once, I need sum up colum values to creat a new dataframe with unique ids. I hope there are some cheaper ways of doing it... Because the dataframe is huge, it takes almost an hour to do the task. Thanks so much in advance! Young # ------------------------- examples are here and sum.dup.r is at the
2008 Oct 03
5
color code from csv
hi folks, this is driving me up the wall. Apologies for posting twice in the same week, I'm writing up a thesis. I wish to color-code some dots in an xy plot. I've got a csv file with various elements, one of which is the color-key (with the header 'color'). If the color-key is decimal (eg. 1,2,3) then I can use plot (X ~ Y, col=data$color) The problem, however, is that using
2011 Nov 22
3
making scatterplot easier to read
Dear R users, do you know an easy way (other than star plot) of making several points laying one over another visible? Is it any simple way of increasing such "multipoint" symbols - or shifting their positions randomly to make several points in one place visible? Cheers, sz. -- Szymon Drobniak || Population Ecology Group *Institute of Environmental Sciences, Jagiellonian University
2008 Oct 02
3
Adding plane in a 3D scatterplot
I have drawn a 3D scatter plot : library(mnormt) library(scatterplot3d) dat = cbind(rmnorm(3, rep(0,2), diag(2)), 1:3) scatterplot3d(dat) Now I want to do 2 things : 1 : In the Z-axis (i.e. height), I want to see only numbers 1,2,3, etc NOT, 1,1.5,2,2.5............. 2. I want to add two Horizontal planes at hight z=2 and z=3. Those two planes should look like "bottom" of that 3D plot
2010 Dec 03
2
difference between linear model & scatterplot matrix
Dear R-users, I'm studing a DB, structured like this (just a little part of my dataset): _____________________________________________________________________________________________________________ Site Latitude Longitude Year Tot-Prod Total_Density dmp Dendoudi-1 15.441964 -13.540179 2005 3271.16 1007 16993.25 Dendoudi-2 15.397321 -13.611607
2010 Jan 29
1
help on drawing right colors within a grouped xyplot (Lattice)
Hi, I've lost my mind on it... I have to scatterplot two vectors, grouped by a third variable, with two different dimensions according to whether each cell line in the plot is sensitive or resistant to a given drug, and with a different color for each of 9 tissues of origin. Here's what I've done: