Displaying 20 results from an estimated 1000 matches similar to: "scatterplot3d with categorical data"
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, Model 3")
Nice! but,
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"))
2011 Jan 25
1
question about the axis label
Hello sir:
I have a question about the axis label of scatterplot3d function.
The data is in the attachment.
If I use the command:
scatterplot3d(x,y,z,type="h")
I want the plot's x-axis lab to be 1,2,3,...,13, y-axis lab to be 1,2,3,...11
But if I use the command:
scatterplot3d(x,y,z,type="h",x.ticklabs=1:13,y.ticklabs=1:11)
The axis labs are overlap, still can't
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
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:
>
>
2007 May 10
1
scatterplot3d fine tuning
I have a 3D scatterplot and would like to change the displayed range along the y-axis.
for instance suppose I have:
x = seq(0.2,0.7,0.01)
y = seq(0.4,0.9,0.01)
z = runif(51)
scatterplot3d(x,y,z,xlim=c(0.2,0.7),ylim=c(0.4,0.9),zlim=c(0,1))
But would like the y-axis to read: 0.4, 0.5, 0.6, blank, blank, 1.0
Is there a way to issue an "axis" statement in the scatterplot3d?
Also,
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
2007 Sep 24
1
urgent for R graphics
Hi, everyone,
I am green with R. Now I am working on a graphics projects.
I have a dataset:
-----------------------
a b c
1 228 83 6.69
2 274 83 7.36
3 320 83 8.86
4 366 83 7.36
5 412 83 6.81
6 228 129 5.58
---------------------
I want to draw a 3d graphic.
I use the code
__________________
2011 Sep 09
1
Rgl and plotmath symbols (via sprites): a trial
Dear all,
Below is some code where I try to get plotmath symbols in an rgl plot. Duncan
Murdoch kindly suggested to use a "sprite" for this. As you can see, on can get
it to work, but my knowledge about grid and rgl is too limited to perfectly
solve the problem.
1) As you can see (please rotate the plot a little bit so that (0,0,0) is "in front"),
the quality of the .png
2008 Apr 16
3
memory issues
Hi all,
I've read the R for windows FAQ and am a little confused re:
memory.limit and memory.size
to start using R 2.6.2 on WinXP, 2GB RAM, I have the command line "sdi
--max-mem-size=2047M"
Once the Rgui is open, memory.limit() returns 2047, memory.size()
returns 11.315, and memory.size(max=T) returns 19.615
Shouldn't memory.size(max=T) return 2047?
Upon running several
2017 Oct 27
1
3D Plot with Date Axis?
Hello,
I would like to format the X axis of the plot created via the scatterplot3d function or any other function which will work.
Here is an example of what I am trying to do:
library("scatterplot3d")
mydf=data.frame(rate=c(1,1,4,4), age=c(2,2,5,5), market_date=c('2017-01-01', '2017-02-02', '2017-03-03', '2017-04-04'))
scatterplot3d(mydf$market_date,
2017 Nov 01
0
Scatterplot3d :: Rotating x tick labels by x degrees
Hello,
David, don?t worry about answering this question or any of my inquiries in the future. Not looking for code servants. Definitely not an expert at using the scatter plot 3D library. That being said, I plan on researching rgl as was recommended so kindly on a previous response to my question.
Regards, Alex
On Oct 31, 2017, at 4:13 PM, David Winsemius <dwinsemius at
2005 Mar 08
1
3D plot not working as desired!
Hello R-users!
I am trying to plot 3 vectors (x,y,z) of observations
generated by mvrnorm in library(MASS).
I tried plot3d in library(djmrgl) and scatterplot3d.
But these program gives x,y,z axis which do not
intersect at the origin (0,0,0).
I searched through all the graphics related packages
for R like xgobi, ggobi, grid and more. Quite
confusing which one to choose.
Would anyone recommend
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 following:
1. I would like to draw a
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 <-
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
2010 Sep 29
1
3D Graphics
Dear All,
I have made a scatter plot and placed a plane within it using scatterplot3d.
However, I have been asked for the data points to be a surface plot or have
the plane more closely resemble the data rather than show trends.
I have since tried to use the rgl package. Why doesn't this package use the
window which already contains graphics?
I have one axis with decreasing values and two
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 normal to the plane
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 versions. Since I cannot install the
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)