Displaying 20 results from an estimated 4000 matches similar to: "3D plotting in R"
2003 Jun 23
7
How can I do a spinning plot in R?
I have found XLispStat's spinning plots illuminating.
I'd like to do the same thing in R.
A dozen or so probes with help, help.search, apropos
haven't turned up anything, and I've even resorted to
grepping through the entire R source distribution
looking for 'spin.*plot', to no avail.
Either the feature is called something else in R (what?),
or it's in some other
2003 Jan 10
6
R-1.6.2 is released
I've rolled up R-1.6.2.tgz a short while ago. This is a minor upgrade,
fixing an assortment of bugs.
You can get it from the developer site at
http://cvs.r-project.org/pub/CRAN/src/base/R-1.6.2.tgz
or wait for it to be mirrored at a CRAN site near you. Binaries for
various platforms will appear in due course.
There is also a version split for floppies, but due to the inclusion
of
2003 Jan 10
6
R-1.6.2 is released
I've rolled up R-1.6.2.tgz a short while ago. This is a minor upgrade,
fixing an assortment of bugs.
You can get it from the developer site at
http://cvs.r-project.org/pub/CRAN/src/base/R-1.6.2.tgz
or wait for it to be mirrored at a CRAN site near you. Binaries for
various platforms will appear in due course.
There is also a version split for floppies, but due to the inclusion
of
2003 Sep 20
4
persp graphs
Hi,
I am doing my way on R, with much experimenting. So, I am trying to plot a 3d
graphic ussing "persp" and entering a data set (attached) of UTM coordinates
as x,y and a pH values as z. However when I try an error message comes out
telling that increasing x and y values are expected. Jus ordering the first
vector does not help, and, of course, order the first two independently
2006 Jan 30
1
Varying results of sammon(), for the same data set
Hello,
I have a data set on which I run the sammon algorithm as follows:
library(MASS)
data = read.table('problemforr.dat')
y = cmdscale(data, add=TRUE)
s = sammon(data, y$points)
(In case it should be relevant, I make the data available at
http://idi.ntnu.no/~edsberg/problemforr.dat)
With R 2.2.1 on Debian Sid I always get one of two solutions (stress
1.74288 after 10 iterations or
2011 Dec 29
2
3d plotting alternatives. I like persp, but regret the lack of plotmath.
I have been making simple functions to display regressions in a new
package called "rockchalk". For 3d illustrations, my functions use
persp, and I've grown to like working with it. As an example of the
kind of things I like to do, you might consult my lecture on
multicollinearity, which is by far the most detailed illustration I've
prepared.
2003 Feb 24
5
exact range of axes in plots
Hello. I was wondering how one can find the exact values of the range of
an axis within a plot. In xlispstat it was (send plot :range 0). Thanks much,
Jason
2011 Jul 05
2
Matrix 3d plot
I have a problem with a 3d plot, suppose we have a matrix like this:
v1 v2 v3 v4
jan-2010 0.5 0.25 0.25 0.3
feb-2010 0.35 0.12 0.12 0.4
mar-2010 0.15 0.25 0.25 0.1
and i want to plot this matrix in 3d plot where x-axis is the first
column of the matrix above, y - axis is the first row of the matrix
above and the z-axis is
2006 May 08
1
persp or wireframe 3D plot: how can I independently adjust linewidth of the 'surface' and framebox?
It is a trivial matter to adjust the linewidth of the axes and plot
line in a 2D plot:
x <- 1:10;
y <- 1:10;
par(lwd=2); # axis (and others) linewidth
plot(x,y,"l",lwd=6); # plot linewidth
Is there anything comparable to this for persp or wireframe? I've
tried a number of ways, and the framebox/axes seem to be linked to
the linewidth used in generating the
2010 Apr 20
1
3D surface plot with wireframe or persp?
Hello Dear,
I have a function, like z=f(x,y), and try a surface plot with this function.
But, on the reference of "wireframe" requires data option, so I generated x
and y, and computed z with them. But, still I have a problem to draw a
surface plot. The code and errors are
##################################################
mle_beta0=64.43707;
mle_beta1=-24365.16;
# generating for
2013 Feb 14
2
3D-plots of 2D-grids
Hello everybody,
I have an Ascii-grid (100x100m) with population density over Switzerland
(local coordinations system, CH LV03). Now I would like to have a nice
graphic to present the data. I would like to make a plot that will show the
density as the z-variable and raise for example a stacking pillar showing
how high the density is in that hectare. I attached a map that's similar to
what I
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2004 Sep 08
8
isoMDS
Dear List:
I have a question regarding an MDS procedure that I am accustomed to
using. I have searched around the archives a bit and the help doc and
still need a little assistance. The package isoMDS is what I need to
perform the non-metric scaling, but I am working with similarity
matrices, not dissimilarities. The question may end up being resolved
simply.
Here is a bit of substantive
2002 Feb 15
1
cmdscale k=1
In applying multidimensional scaling, it seems to me that sometimes the
underlying dimensionality of the matrix is 1. However I found a case
where cmdscale failed when I tried k=1. Here it is:
m<-matrix(
c(.5,.81,.23,.47,.61,
.19,.5,.06,.17,.28,
.77,.94,.5,.74,.85,
.53,.83,.26,.5,.64,
.39,.72,.15,.36,.5),
nrow=5)
# BTW I think cmdscale uses only the lower triangle--how to enter only
# that
2003 Jul 13
2
Coloured 3d surface
Hello,
I created a 3d surface (persp) with some points overlaid on it, which is
fine. Now I have a second set of z-values(x,y-values same as the first
surface), which I would like to make visible on the same graph, however,
not as a surface, but rather as coloured contour on the first surface,
so that the resulting graph will consist of the original surface having
the colour of the second
2008 Sep 05
3
how to draw the legend about color from 3d picture
I have drawed a picture with persp, it's 3d map with different color,
indicate different altitude. In gnuplot, the corresponding command
'splot' will generate a picture beside to indicate the relationship
between color and altitude. But in R, how to draw it? I have read the
manual of legend, but they are all about how to draw a legend with
colored text, not a continuous varing color
2003 Nov 19
1
Installing RXlisp
Dear R users,
I was trying to install the package RXLisp by Duncan Temple Lang on a MDK
9.1 Linux machine running R 1.8.0 installed from a RPM.
Unfortunately I had a problem loading the shared library into R. Since
I'm a Linux newbie I was not able to solve the problem. Maybe some of
you can help me.
First of all I downloaded the source archive for Xlisp-Stat and
for the RXlisp package.
2007 Jun 14
2
Difference between prcomp and cmdscale
I'm looking for someone to explain the difference between these
procedures. The function prcomp() does principal components anaylsis,
and the function cmdscale() does classical multi-dimensional scaling
(also called principal coordinates analysis).
My confusion stems from the fact that they give very similar results:
my.d <- matrix(rnorm(50), ncol=5)
rownames(my.d) <-
2006 May 12
1
[ESRI-L] outline polygons of point clumps
Sorry, I did not make my question clear. Since I have a point theme
with many points, some of them may clump together. the problems here
are:
1. how to find clumps in a point theme?
2. the convex-hull extension I found only deal with all the points in
a theme at each time? how to make each convex hull around each point
clump automatically?
Thanks.
Xiaohua
On 5/12/06, Bob Booth <bbooth
2014 Nov 06
1
limit of cmdscale function
Hi
We have a few questions regarding the use of the "isoMDS" function.
When we run "isoMDS" function using 60,000 x 60,000 data matrix,
we get the following error message:
------------------------------------
cmdscale(d, k) : invalid value of 'n'
Calls: isoMDS -> cmdscale
------------------------------------
We checked the source code of "cmdscale" and