Displaying 20 results from an estimated 3000 matches similar to: "3D Graphics"
2011 Oct 07
1
axes3d/bbox3d - axis values not fixed
Hello,
I'm using the rgl package and plotting a plot with it. I'd like to have all
the axes values auto-hide, but I want to plot a series of characters instead
of the values of the measurement for 2 of the axes. So in the end I will
have one axis (z actually) behave per normal (auto-hide) and I'd like the
other two axes to be custom character vectors that auto-hide.
Example:
x <-
2013 Jun 25
1
Correct scaling of axis in persp3d plot
Hi,
I want to format my axis in my persp3d plot.
With my data, which I attached I created a persp3d plot with the following code, which I summarized from different code snippets I found:
library(rugarch)library(rgl)library(fGarch)fd <-as.data.frame(modelfit,which ='density')color <-rgb(85,141,85,maxColorValue=255)x <-seq(-0.2,0.2,length=100)y <-c(1:2318)f
2011 Apr 05
2
Animation for pers3d
Hello all,
I use persp3d from the rgl-package to plot a sruface. The typical call
is persp3d(x, y, z)
With cooridinate-vectros x, y and a function-values matrix z.
Now I have different z's, say z_1,...,z_n
Question:
Is it possible to generate an animation from a sequence of such calls,
for different z's?
I would like to see how the surface is beeing changed in the time.
Thank you
2011 Sep 08
1
3D plot RGL
Hi, anyone has experience with 3D plot (ex: in package RGL) I have a
question, I draw a 3D plot of country, year and sales in z axis but when the
type is "h" then it's ok but when I want to link the points and type is 'l'
lines it's a mess Is there a way to link the points only in one direction?
For example a unique line from each country through each year?
The code
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",
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
2009 Apr 08
1
persp3d and rgl.viewpoint for rotating 3D plots
Dear R-users,
within the rgl-package, I would have a question about the usage of persp3d in combination of rgl.viewpoint.
I am not able to figure out how to let a 3D plot rotating around likewise the example in ?rgl.viewpoint. It seems that when I use persp3d(...) I see something on my screen, which is different from what I get when it's rotating. Is there any different behavior between
2010 Apr 30
3
3D Surface plot
Dear All,
I want to create a surface plot from the data. My data set is consists of x,
y and z data.
I plotted in very easy way by Excel worksheet as shown in the attached
picture.
I did some steps in R, but I cannot have the same plot as in Excel
worksheet's figure.
the R code is
x <- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
y<- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
z<-
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,
2011 Jun 08
1
3D-plotting a 2D-matrix that contains z-values (3rd dimension)
Hello,
say I have a 2D-matrix (indexed by x and y), which contains
z values, which I want to plot over x-y.
Either dotted, or if possible as a landscape.
I tried around with persp and plot3d (from rgl)
and persp3d (from rgl).
I sometimes get something that looks good and a while later, when
trying some new data I need to worry about that again.
Is there something lika a convenience function
2008 Nov 26
1
Smoothed 3D plots
DeaR list,
I'm trying to represent some information via 3D plots. My data and session
info are at the end of this message. So far, I have tried scatterplot3d
(scatterplot3d),
persp3d (rgl), persp (graphics) and scatter3d (Rmcdr) but any of them gave
me what I'd like to have as final result (please see [1] for a similar 3D
plot changing
PF by ypred, pdn by h4 and pup by h11).
In general
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.
2008 Aug 26
1
plot3d origin
Hi all,
I am trying to do a 3d plot where the x,y,z axes intersects with the origin
(0,0,0) using the plot3d() funtion in the rgl package without success. I
looked back at the past archives on this subject and someone suggested using
djmrgl package. I searched and found it, installed it but when I try to load
it I get the error ...
Error in inDL(x, as.logical(local), as.logical(now), ...) :
2009 Feb 28
2
rgl persp3d bounding box color problem.
Hi guys,
I hit on a problem when I use rgl.
Could you try to run the code here in this link and see why the first persp3d gives a red bounding box and the second shows black?
http://rafb.net/p/g1i7ur33.html
(sorry for not pasting the code here directly but my previous email got filtered by this list so I suspect my code looks like spam to the spam filter)
I'm expecting black color to be
2020 Oct 22
0
3d plot of earth with cut
On 21/10/2020 8:45 a.m., Balint Radics wrote:
> Hello,
>
> Could someone suggest a package/way to make a 3D raster plot of the Earth
> (with continent boundaries), and then make a "cut" or "slice" of it such
> that one can also visualize some scalar quantity as a function of the
> Radius/Depth across that given slice ?
>
> Formally, I would have a
2009 Mar 19
1
two plots side-by-side with persp3d(rgl)
Dear R-users,
I would like to place two 3D plots side-by-side in a rgl-setting. It would nice to have something like "par(mfrow=c(1,2))" for basic plots, or an array framework for wireframe(lattice) (see example below). I only managed to overlap two persp3d plots.
My final idea would be to animate both surfaces using play3d(rgl).
Thanks in advance for any help.
Best,
Carlo Giovanni
2011 Oct 31
1
3D Graph Surface and single points (eg wireframe with points)
Hallo!
?
I just want to make a 3D plot of a surface of a cone and want to plot some single points around.
?
I tried wireframe but cannot find how to plot single points
?
I tried scatterplot3d but there the surface is not simple to plot. And: How can I rotate the point of view by the z-axis
?
I tried persp3d but how can I add some single points?
?
Example:
?
library(lattice)
library(scatterplot3d)
2008 Mar 31
1
3d plot
Hi,
I would like to have 3d plot, and I found that there is a command "scatterplot3d". x is V, y=sigmaV, and z=TSE (note: After some calculation, I update TSE). How could I do to have 3d plot I want?
V<-seq(1279,1280,,100)
sigmaV<-seq(0.28,0.29,,100)
TSE<-matrix(0, length(V),length(sigmaV))
ps: TSE[i,j] corresponds to V[i] and sigmaV[j].
Thanks,
Kate
[[alternative HTML
2008 Jun 16
1
surface plotting
I am new to R and what to find out which package would be best to create a
surface plot, 2d or 3d if possible. I have a matrix (depth.dat) which has
over 15k depth measurements from an ultrasonic corrosion mapping
application. These depth measurements only have one axis (x) but I have used
Octave and gnuplot providing decent results, but R seems to have a web
interface with PERL which is what I
2012 Aug 27
1
RGL plot : lighting problem when triangle3d and persp3d are used in the same plot
Dear all,
I have tried to plot a triangular matrix with the function persp3d(rgl).
for example
z=rbind(c(1,NA,NA,NA),c(5,3,NA,NA),c(4,2,9,NA),c(8,6,5,11))
x=1:4
y=1:4
persp3d(x,y,z,color="gray")
The two extreme points are not plotted (value=1 and value=10). It seems
because the half of the matrix have 'NA' and perp3d need planar
quadrilateral face. So I decided to use the