Displaying 20 results from an estimated 234 matches for "scatterplot3d".
2012 Jul 31
2
drawing a specific "plane" with scatterplot3d
Dear All,
using the example from the package scatterplot3d I created a 3d plot as follows:
x <-rnorm(500,50,2)
y <-rnorm(500,5,1)
z <-rnorm(500,6,1)
scatterplot3d(x, y, z, highlight.3d=TRUE, col.axis="blue",col.grid="lightblue", main="scatterplot3d - 1", pch=20)
I would like to ask if anyone could help me with the...
2005 May 31
2
plane3d
I am attempting to fit a logistic regression plane to a 3-D scatterplot
(which was generated using scatterplot3d). I've noticed that the help
pages of scatterplot3d include a function titled "plane3d." However,
when I attempt to use the function, I get the following message:
Error: couldn't find function "plane3d"
I've searched the archives and found no references to such...
2009 Aug 03
2
scatterplot3d bug??
Hey guys,
Not sure if I encountered a bug with the scatterplot3d function.
Here's the calls I made:
s3d1 <- scatterplot3d(TotLogDisttenp,TotDifftenp,TotMeasuredRSLtenp,pch=16,highlight.3d=TRUE,angle=40,type="h",main="MRSL
~ LogDist + Diff");
s3d1$plane3d(fitols);
s3d1 <- scatterplot3d(TotLogDisttenp,TotDifftenp,TotMeasuredRSLtenp,p...
2009 Jul 02
1
Windows zip-files (binaries) for older version of scatterplot3d
Hi,
I am working with -poLCA- which uses the package -scatterplot3d- in
order to work. However, I work on a restricted server that is not
online. The R-version installed there is 2.6. However, running
library(poLCA) after installing the most recent -scatterplot3d- on the
server leaves me with R telling me that scatterplot3d needs R-version
2.7 or a more recent vers...
2008 Oct 23
2
map points from scatterplot3d onto 2d fitted plane
Dear R helpers,
I have a 3D scatter plot that I have generated from scatterplot3d (which
looks great- thanks!) and I can see that the points in my graph fall in a
plane.
Following the example 5 from 3D scatter plot (below) I have fitted a
regression plane.
Now what I would like to do is a rotation so that my new co-ordinate system
is about the fitted plane (by finding the norma...
2017 Oct 30
4
Scatterplot3d :: Rotating x tick labels by x degrees
Hi,
I would like to rotate the x axis tick labels by 45 degrees. Using the code below, could someone please provide an example? Many Thanks In Advance, Alex
library("scatterplot3d")
mydf=data.frame(rate=seq(158, 314)
,age=seq(1, 157)
,market_date=seq(as.Date("2000/1/1"), as.Date("2003/1/1"), by="7 days"))
mydf$market_date=as.Date(mydf$market_date, format="%Y-%m-%d")
scatterplot3d(mydf$market_date...
2002 Jun 27
1
using identify() with scatterplot3d()
Dear all
I am running R 1.4.1 on a Linux box. I have tried to label data points
in a 3-d scatterplot, but without much success. What I did was as
follows:
> scatterplot3d(x, y, z)
> identify(x, y, z, row.names(Data))
When I tried to click on/near the data points, I either receive this
msg:
warning: no point with 0.25 inches,
or some numbers in Data, not the row names, come up on the graph. So I
wonder if I've got something wrong. Is it possible to use iden...
2008 Apr 11
1
polygons on scatterplot3d
Does anyone have any experience plotting complex polygons on a
scatterplot3d display? I would like to present some spatially binned
data in a 3-d type plot with background polygons (i.e.. a filled
coastline map). I can get the coastline onto the plot window as a
line type but cannot figure out how to fill the shape. I'm certain it
may be possible but might re...
2008 Feb 09
1
scatterplot3d to display text
Dear all,
I'm looking for a way to display text (label) in a scatterplot3d instead of
the default dot. I mean someting like the text() function which can be
associated with plot(). Do you think this is possible ?
My second question is quite well covered by some threads but I haven't been
able to find a definitive way of doing. Is there a way to enable rotation in
a...
2013 Mar 28
1
scatterplot3d with densCols ?
Hi,
I was trying to make a 3D plot using densCols. The documentation for
densCols doesn't look like it'll work for 3D. For example:
-----------------------------------------
library(scatterplot3d)
v1 <- rnorm(10000)
v2 <- rnorm(10000)
v3 <- rnorm(10000)
## 2D with denscols
mat1 <- cbind(v1,v2)
mcols1 <- densCols(mat1)
plot(mat1,col=mcols1)
mat <- cbind(v1,v2,v3)
mcols <- densCols(mat) ## No go?
## 3D version with no densCols parameter
scatterplot3d(mat,pch=16)
## g...
2017 Oct 31
0
Scatterplot3d :: Rotating x tick labels by x degrees
Hi Alex,
this should be related to the "las" argument of "par()" but
actually it does not seem to be parametered in scatterplot3d.
Searching the net for "scatterplot3d las" provides a link to:
https://stackoverflow.com/questions/25458652/specifying-the-orientation-of-the-axes-labels-in-scatterplot3d
You may try the solution that is provided in this link or consider using
alternate packages (like rgl or the plotly...
2002 Jun 20
2
scatterplot3d
Hello,
I am trying to replicate example 4 in the package 'scatterplot3d':
s3d.dat_data.frame(cols=as.vector(col(my.model4)),
rows=as.vector(row(my.model4)),
value=as.vector(my.model4))
scatterplot3d(s3d.dat, type="h", lwd=5, pch=" ",
x.ticklabs=colnames(my.model4), y.ticklabs=rownames(my.model4),
main="Conditional probabilities, Mod...
2002 Jul 03
2
grouping in scatterplot3d
Hi all,
I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is
anyway to group the points according to a particular group variable. For example I used the plot function as
plot( factor( <GROUPINGVAR> ) , <PLOTVARS> )
to organise the results in a accor...
2008 Jul 24
1
Problem with scatterplot3d example
I tried to run the following example from section 4.1.4 of the "Scatterplot3d
-
an R package for Visualizing Multivariate Data" vignette and got an error on
the part that plots the regression plane:
> library(scatterplot3d)
> data(trees)
> s3d <- scatterplot3d(trees, type = "h", color = "blue",
+ angle = 55, scale.y = 0.7, pch = 16, main...
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users,
How to use the function polygon()
together with the package scatterplot3d?
I am trying to color below of the curves
defined for the function density().
I tried to use the site: R GRAPH GALLERY
as tutorial.
I tried to adapt the example of this page:
[figure]:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30
[code]:
http://addictedtor.free.fr/graphiques...
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
> On Oct 31, 2017, at 8:55 AM, Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote:
>
> Hi Alex,
>
> this should be related to the "las" argument of "par()" but
> actually it does not seem to be parametered in scatterplot3d.
> Searching the net for "scatterplot3d las" provides a link to:
>
> https://stackoverflow.com/questions/25458652/specifying-the-orientation-of-the-axes-labels-in-scatterplot3d
>
> You may try the solution that is provided in this link or consider using
> alternate pac...
2011 Mar 29
4
Creating 3 vectors that sum to 1
I have 3 vectors: p1, p2, and p3. I would like each vector to be any
possible value between 0 and 1 and p1 + p2 + p3 = 1. I want to graph these
and I've thought about using scatterplot3d(). Here's what I have so far.
library(scatterplot3d)
p1 <- c(1,0,0,.5,.5,0,.5,.25,.25,.34,.33,.33,.8,.1,.1,.9,.05,.05)
p2 <- c(0,1,0,.5,0,.5,.25,.5,.25,.33,.34,.33,.1,.8,.1,.05,.9,.05)
p3 <- c(0,0,1,0,.5,.5,.25,.25,.5,.33,.33,.34,.1,.1,.8,.05,.05,.9)
scatterplot3d(p1,p2,p3)
However,...
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 "...
2008 Jan 26
2
scatterplot3d with categorical data
Dear users,
I'm trying to produce a 3d bar plot but the x and y dimensions have categorical
data -- so I only want 3 points on each axis. So I try:
require(scatterplot3d)
mymat<-data.frame(
x=c(1,1,1,2,2,2,3,3,3),
y=c(1,2,3,1,2,3,1,2,3),
z=c(1,2,3,4,5,6,7,8,9))
scatterplot3d(mymat,
type="h", lwd=5, pch=" ",
xlab="xlabel", ylab="ylabel", zlab="zlabel",
xlim=c(1,3), ylim=c(1,3),
lab=c(3,...
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
On 31.10.2017 00:56, Alex Restrepo wrote:
> Hi,
>
> I would like to rotate the x axis tick labels by 45 degrees. Using the code below, could someone please provide an example? Many Thanks In Advance, Alex
45 degree rotation is not supported in base R graphics and scatterplot3d
uses that.
You can use par(las=2)
before your code and get them rrotated by 90 degrees, or you can add
them individually by
s3d <- scatterplot3d(....
Afterwards you could try along trhese lines:
par(xpd=TRUE)
text(s3d$xyz.convert(desired positions of labels in 3D coordinate
system), label...