Displaying 20 results from an estimated 7000 matches similar to: "Rainbow Colored Scatter Plot"
2009 Jun 29
1
Export rgl plot3d scatter
Hello,
I have created a 3d scatter plot using plot3d. Is it possible to export the
resulting graph so that it can be placed in a pdf, powerpoint, or something
of the sort and still be able to rotate it?
Thanks
[[alternative HTML version deleted]]
2009 Jul 09
2
Save rgl plot3d Graph as Image
Dear Users:
I wish to save 3d scatter plots I have generated using the plot3d command in
the rgl package. Any image format such as .tiff would work. Can anyone tell
me how to do this?
Thank you
[[alternative HTML version deleted]]
2008 Mar 04
4
colored 3d scatter plot
Hi All,
I have data for two groups, group with 100 points and group B with 15
points. i needed plot these two groups in one scatter plot, each group with
a different color. I tried
plot3d(data, col = c("red", "blue")[c(rep(1, 100), rep(2, 15))], pch=20) .
this works but the graph does not look good.
the other option that I tried is
scatterplot3d(data, type="p",
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
hello,
I wish to create some 3d scatter diagrams visualising different grouped
data set by a given field in the database. I tried the scatterplot3d
package, as well as the plot3d and scatter3d functions (both within the
rgl resp. Rcmdr package). My first question is, whether is it possibe to
group data in the scatterplot3d and plot3d, because I did not succeed to
use the groups = ...
2009 Oct 10
1
auto.key legend color different from actual plot
Dear All,
I have created a barchart, but the legend created by auto.key does not match
the actual graph. Can someone give me some hint here?
For example, my coding are:
Library(lattice)
dataset.table <-
table(data.frame(id=c("a","b","c","a","c","b","a"),colour=c("blue","green","
2009 Jun 29
2
Saving RGL Graphs
Dear Users:
I have created several 3d scatter plots using the rgl package. I wish to
save each of them so that I can later open them in R and view/rotate them.
What is the command to do this?
Also, do I need to save them each into individual files, or can I save them
all together and then somehow toggle between them.
Thanks very much.
[[alternative HTML version deleted]]
2007 Jul 07
3
color scale in rgl plots
Hello,
I'm trying to make a 3d plot using rgl in which the size and color of
each point corresponds to certain attributes of each data point. The color
attribute, let's call it X, is scaled to go from 0 to 1. The
rainbow(64,start=0.7,end=0.1) palette is perfect for what I want but I
don't know how to take that palette and pick a color from it based on
the value of X for a given data
2005 Dec 09
1
lattice legend colors recycling sooner than expected
dear r-helpers,
it seems the colors in an automatically generated lattice legend
recycle after the 8th color, even when the user has set e.g.
superpose.symbol$col to be longer than 8. the following example will
illustrate what i mean:
z <- data.frame(x=rep(letters[1:15], each=4), y=rnorm(60),
groups=rep(LETTERS[1:3], 20))
library(nlme)
library(lattice)
plot(groupedData(y ~ x |
2008 Dec 16
1
surface contour plot help
I am trying to do a surface profile plot.
data is
X Y(1) Z(1)
1-jan-02 2002 number
2-jan-02 2002 number
.
.
.
1-jan-03 2003 (Y2) number Z(2)
2-jan-03 2003 (Y2) number Z(2)
.
.
.
until dec 31 2007.
I used the plot3d funtions to build a scatter point plot.
Call rinterface.rrun("library(rgl)")
Call
2011 Apr 12
1
plot3d crashes R
Hi Duncan,
I've just read the help for the plot3d function you've written and tried out the example code given at the bottom of the page. I then modified the function by adding an aspect ratio of 0.1 and ran it again, which crashed my R. I am using 2.12.2 on Windows, if that tells you anything.
Best wishes,
Roman
2009 Oct 25
3
Trying to save both an rgl plot and a bar plot errors
Hello,
I am basically using a script that is designed to first create an rgl 3d scatter plot followed by a barplot on the same data. After this is done, the program is to first save the barplot as a .tiff file then to save the rgl 3d graph as a .png file. Once this is done, it is to repeat this 3d plot and barplot combo with saving 49 more times. The plotting script excerpt will be posted at the
2007 Oct 22
2
Strange scroll behavior of Auto Complete inside Active Scaffold.
Hi Everyone.
After a long weekend of testing some stuff out I finally got the auto
suggest working.
I have got a problem however in both IE and Firefox as the drop down
scrolls the page down to the element only when the up arrow is
pressed.
Here is a detailed example.
When I have
<%= text_field_with_auto_complete :product, :colour %>
in my product _form.rhtml override...
... and in my
2010 Jul 27
1
rgl package don't draw points with a color over points with another color
I want to plot points with different colors to show different
selections of points in a 3d plot.
My problem is that if I plot a red point at a location where already a
blue point was plotted, than the point is still blue.
Is there a parameter or so which can be used to draw over a existing point?
Example:
> require(rgl)
> open3d()
> plot3d(a<-c(1,2,3,4,5),a,a,type="l",
2008 Jan 06
3
Can a dynamic graphic produced by rgl be saved?
Dear r-helpers,
Can one save a dynamic graphic produced by rgl, e.g.:
open3d(); x <- sort(rnorm(1000)); y <- rnorm(1000); z <-
rnorm(1000) + atan2(x,y); plot3d(x, y, z, col=rainbow(1000), size=2)
as a dynamic figure that can be embedded in a pdf?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400
2009 May 11
1
3d Scatterplot using rgl
Hi,
I am trying to plot a 3d scatter plot using the rgl package but am having trouble.
I have a matrix containing x, y and z co-ordinates and a fourth element related to a count variable.
I would like to plot the points using plot3d with the sizes of the points related to the fourth element in the matrix. Is this possible with plot3d or do I need to use something else?
I include a small example
2013 Aug 24
2
Correct NAMESPACE approach when writing an S3 method for a generic in another package
Dear List,
In one of my packages I have an S3 method for the plot3d generic
function from package rgl. I am trying to streamline my Depends
entries but don't know how to have
plot3d(foo)
in the examples section for the plot3d method in my package, without
rgl being in Depends.
Note that I importFrom(rgl, plotd3d) and register my S3 method via
S3Method() in the NAMESPACE.
If rgl is not in
2008 Feb 09
1
problem using evalJSON with Ajax
Hi, all
I am trying to use evalJSON with Ajax, but somehow it doesn''t work.
for instance, I have a php file has the following output:
"name": "Violet", "occupation": "character"
and I have a html file with the following javascript:
new Ajax.Request(''/some_url'', { method:''get'', onSuccess:
2013 Jan 07
1
posting a question in the R-help forum
Hello,
I wanted to post this question below, on the R-help forum, but I'm not sure
I succeeded because it said that I wasn't subscribed to the mailing list
yet.
Now I am subscribed, but will my question be accepted now automatically, or
should I submit it again?
Thanks in advance,
Violet Swakman
Hello everyone,
I'm having trouble understanding my output from a linear mixed effects
2010 Apr 28
1
What is the best way to plots surfaces in 3 dimensions?
Hi R help,
What is the best way to plots surfaces in 3 dimensions?
I also have the following availability problem with "plot3d" and "scatterplot3d", and "wireframe":
install.packages("scatterplot3d")
Warning: unable to access index for repository http://cran.ch.r-project.org/bin/macosx/leopard/contrib/2.10
Warning message:
In getDependencies(pkgs,
2013 Feb 01
2
Change default order of colors & line types
Dear R users,
I'd like to change the default order of colors & line types.
Especially I am using ggplot2 and using color Set1.
In Set1, the default color order is red, blue, green, violet,.. ect.
However, I want to put red in fourth (not first).
Likewise, I want to change the order of default linetype. I want to
put "solid" line in fourth.
How can I do thses?
R code to draw the