One addition to this thread:
I've just committed contourLines3d() to rgl (in version 0.102.28). It
will let you display contour lines of a function on any surface in a scene.
Duncan Murdoch
On 23/10/2020 2:30 p.m., Duncan Murdoch wrote:
Good to hear you've made such progress. Just a couple
Good to hear you've made such progress. Just a couple of comments:
- You should use points3d() rather than rgl.points(). The latter is a
low level function that may have unpleasant side effects, especially
mixing it with other *3d() functions like persp3d().
- There are several ways to draw a
Dear All,
Thanks a lot for the useful help again. I manage to get it done up to a
point where I think I
just need to apply some smoothing/interpolation to get denser points, to
make it nice.
Basically, I started from Duncen's script to visualize and make the
clipping along a plane
at a slice.
Then
> It should be a 2D slice/plane embedded into a 3D space.
I was able to come up with the plot, attached.
My intention was to plot national boundaries on the surface of a sphere.
And put the slice inside.
However, I haven't (as yet) worked out how to get the coordinates for
the boundaries.
Let me
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D
space. Could be static, I just need to make a single figure from it for
illustration of the Earth together with its interior in 3D. So, the
interior would be a slice in 2D along a fixed longitude. And along this 2D
slice would b
Hello,
this is very close to exactly what I need! I have tried it and it works
nicely, I just have to map some values onto to the polygon or 2D plane that
cuts into the 3D object.
Thanks!
Balint
On Thu 22. Oct 2020 at 21:28, Duncan Murdoch
wrote:
> On 21/10/2020 8:45 a.m., Balint Radics wrote
Hi
Thanks a lot for this pointer, I will need to look at it. I did indeed
google but did not find an example. In the meantime some additional
solutions were suggested, that I also need to try.
Cheers,
Balint
On Thu 22. Oct 2020 at 20:56, Bert Gunter wrote:
> 1. Have you looked here:
> https://
If you have "value" as a function of latitude and radius, isn't that a
2D (not 3D) scalar field?
Which can be plotted using a regular heatmap.
If you want a curved edge where depth=0 (radius=?), that's not too
difficult to achieve.
Not quite sure what continent boundaries mean in this context, but
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 g
1. Have you looked here:
https://cran.r-project.org/web/views/Spatial.html
(I assume you have done some web searches on possible terms like "3D Earth
Data R" or whatever)
2. You might try posting on the r-sig-geo list rather than here, where
relative expertise may more likely be available.
Cheers
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 given, fi
> On Oct 27, 2017, at 12:22 PM, Alex Restrepo wrote:
>
> 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.fram
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',
On 22/06/2017 3:15 AM, Alaios wrote:
Thanks. So after searching 4 hours last night it looks like that there
is no R package that can do this right now. Any other ideas or
suggestions might be helpful.
I don't know what you want the display to look like, but if you want it
to be rotatable, rgl
Thanks. So after searching 4 hours last night it looks like that there is no R
package that can do this right now. Any other ideas or suggestions might be
helpful.RegardsAlex
On Wednesday, June 21, 2017 3:21 PM, Alaios via R-help
wrote:
Thanks Duncan for the replyI can not suppress an
Thanks Duncan for the replyI can not suppress anything these are radiation
pattern measurements that are typically are taken at X,Y and Z planes. See an
example here, where I want to plot the measurements for the red, green and blue
planes (so the image below withouth the 3d green structure
ins
On 21/06/2017 5:23 AM, Alaios via R-help wrote:
Thanks a lot for the reply.After looking at different parts of the code today
I was able to start with simple 2D polar plots as the attached pdf file. In
case the attachment is not visible I used the plot.polar function to create
something like
Thanks a lot for the reply.After looking at different parts of the code today
I was able to start with simple 2D polar plots as the attached pdf file. In
case the attachment is not visible I used the plot.polar function to create
something like
that.https://vijaybarve.files.wordpress.com/2013
package rgl.
Best,
Uwe Ligges
On 20.06.2017 21:29, Alaios via R-help wrote:
HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So each
one is having 360 elements each one correpsonding to angular coordinates (1
degree, 2 degrees, 3 degrees, 360 degrees) and I want to
HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So each
one is having 360 elements each one correpsonding to angular coordinates (1
degree, 2 degrees, 3 degrees, 360 degrees) and I want to plot those on the
xyz axes that have degress.
Is there a function or library to
On Nov 18, 2013, at 8:01 PM, wwreith wrote:
> I have a data set in which I am trying to plot a convex hull in 3 dim. Below
> is a subset of the points I would use. Columns 2,3,4 are my x,y,z
> coordinates. I found some ways to plot 2D convext hulls or find a convex
> hull for higher dimensions, b
I have a data set in which I am trying to plot a convex hull in 3 dim. Below
is a subset of the points I would use. Columns 2,3,4 are my x,y,z
coordinates. I found some ways to plot 2D convext hulls or find a convex
hull for higher dimensions, but not how to plot the data.
I have have attached an
On 14/05/2013 1:10 PM, Amir wrote:
Dear all,
I need to plot more than one surface in 3D using R.
I tried with "persp" function, it produce only one surface.
Could you please help me how can I do it? The X and Y axis are the same
but I have Z1 and Z2. I want to have both results in one grap
Dear all,
I need to plot more than one surface in 3D using R.
I tried with "persp" function, it produce only one surface.
Could you please help me how can I do it? The X and Y axis are the same
but I have Z1 and Z2. I want to have both results in one graph.
Thanks
Amir
--
___
francogrex wrote on 09/08/2011 08:08:19 AM:
>
> 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
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?
Fo
Dear all, I would like to draw a 3D plot as shown
here http://en.wikipedia.org/wiki/File:NaturalLogarithmAll.png, for this
function "f = exp[ 1 - x^2 - y^2]" (this function is some arbitrary!). I am
aware of different 3D plotting system in R, however it would be great if I can
get that kind of
jethi hotmail.com> writes:
> hey, is there anybody who can help me? its very urgent because i have to
> send my bachelor thesis on monday. pls help me
I'm really sorry that you're stuck, but ... waiting until a few days
before an important assignment is due and then depending on the gener
hey, is there anybody who can help me? its very urgent because i have to
send my bachelor thesis on monday. pls help me
--
View this message in context:
http://r.789695.n4.nabble.com/3D-plot-tp2713818p2713909.html
Sent from the R help mailing list archive at Nabble.com.
___
hi steve, thnx for ur reply. but my problem is, that i have a matrix as a
functions value and as a result i get a single number. so how can i plot
this? and it would be nice if u read over my function, because i´m not sure
if it correct. anyway thnx
regards
jethi
--
View this message in context
Hi Jethi,
On Sat, Sep 25, 2010 at 3:42 PM, jethi wrote:
>
> hey, how can i plot this function??? thanks for ur help
I don't really have the time (or inclination, sorry) to look through
your code, but if it relates to your subject line, then there are
several ways to plot 3d objects in R.
You ca
hey, how can i plot this function??? thanks for ur help
n=1000
m=2
k=n/m
N=100
myfun <- function(n, m, alpha = .05, seeder = 1000) {
l=matrix(0,nrow=m,ncol=N)
for(i in 1:N){
set.seed(i)
for(j in 1:m){
x=rnorm(n,0,0.5)
y=rnorm(n,0,0.8)
l[j,i]=cor((x[(((j-1)*k)+1):(((j-1)*k)+k)]),
(y[(((j-1)*k)+1):
Hello!
I would like to ask if R can solve the following problem.
I need to produce two 3d plots on a single page, that is
to arrange them one above the other. Also, I need to
visualize points by means of spheres, pyramids and cubes
in the 3d space. Also, I would like to fill these symbols
with
On 04/23/2010 10:51 PM, Ariane C. Böhm wrote:
Hi guys of the R-Help-Team!First of all - you do a great job!I've found a lot of your mails in the internet. So I thought it would be a
good idea to ask you a question about R.R is new to me, so sorry,
if the question is too simple :)I have a matrix.I
On 23/04/2010 8:51 AM, Ariane C. Böhm wrote:
Hi guys of the R-Help-Team!First of all - you do a great job!I've found a lot of your mails in the internet. So I thought it would be a
good idea to ask you a question about R.R is new to me, so sorry,
if the question is too simple :)I have a matrix.I
Hi guys of the R-Help-Team!First of all - you do a great job!I've found a lot of your mails in the internet. So I thought it would be a
good idea to ask you a question about R.R is new to me, so sorry,
if the question is too simple :)I have a matrix.I can make a
2D Heatmap of this matrix.My questio
On 18/02/2010 11:43 AM, David A.G wrote:
Dearl list,
can anyone point me to a function or library that can create a graph similar to
the one in the following powerpoint presentation?
It could be done in rgl with a lot of work. I don't know of a package
where someone has already done the wor
On 02/19/2010 03:43 AM, David A.G wrote:
Dearl list,
can anyone point me to a function or library that can create a graph similar to
the one in the following powerpoint presentation?
http://bmi.osu.edu/~khuang/IBGP705/BMI705-Lecture7.ppt
(pages 36-37)
In order to try to explain the graph, t
Dearl list,
can anyone point me to a function or library that can create a graph similar to
the one in the following powerpoint presentation?
http://bmi.osu.edu/~khuang/IBGP705/BMI705-Lecture7.ppt
(pages 36-37)
In order to try to explain the graph, the way I see it in R terms is something
li
Hi
Jim Lemon wrote:
On 02/02/2010 11:01 PM, walter.dju...@chello.at wrote:
Hello R-experts,
I am having difficulties with 3D plotting (i.e. the evolution of
various forward curves through time).
I have two comma seperated files both ordered by date (in the first
column) one containing contra
On 02/02/2010 11:01 PM, walter.dju...@chello.at wrote:
Hello R-experts,
I am having difficulties with 3D plotting (i.e. the evolution of various
forward curves through time).
I have two comma seperated files both ordered by date (in the first column) one containing contracts
(meaning forward
a link to the 3D plot data files
http://members.chello.at/gwd
the files are NG_contracts and NG_values
--
mfg
WD
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.o
On 02.02.2010 16:01, walter.dju...@chello.at wrote:
Here they are for now for you.
And I will put them somewhere in a few minutes and poost the link.
No need to do so. If you really want to use 3D plots (which I doubt you
really want since you could do better in 2D using dotcharts or so):
Since your files did not come through the mail list, I'd suggest to put
them on some webside and provide a link.
Uwe Ligges
On 02.02.2010 13:01, walter.dju...@chello.at wrote:
Hello R-experts,
I am having difficulties with 3D plotting (i.e. the evolution of various
forward curves through t
Hello R-experts,
I am having difficulties with 3D plotting (i.e. the evolution of various
forward curves through time).
I have two comma seperated files both ordered by date (in the first column) one
containing contracts (meaning forward delivery months from YEAR_ & Letter "F"
... January th
n...@r-
> project.org] On Behalf Of Joel Fürstenberg-Hägg
> Sent: Thursday, November 19, 2009 2:27 AM
> To: r-help@r-project.org
> Subject: [R] 3D plot, rotatable and with adjustable symbols
>
>
> Hi all,
>
>
>
> I've tried to make a 3D plot, but have run int
Try the rgl package.
r
-
Remko Duursma
Post-Doctoral Fellow
Centre for Plants and the Environment
University of Western Sydney
Hawkesbury Campus
Richmond NSW 2753
Dept of Biological Science
Macquarie University
North Ryde NSW 2109
Australia
Mob
Hi all,
I've tried to make a 3D plot, but have run into some problems.
I'd like to have a plot that I can rotate interactively using the mouse, which
is possible using the plots3d {R.basic}. However, I would like to change the
symbols used as the points, but there's no pch in plot3d().
On 3/27/2009 9:57 AM, bastian250...@freenet.de wrote:
Hello,
I would like to create a 3D plot with the following data formats:
a <- 1:100
b <- 1:100
c <- matrix(, 100, 100)
i.e.
c(i,j) = f ( a(i) , b(j) )
each of the 1 elements i,j in matrix c is a function of a(i) and
b(j). I would li
Hello,
I would like to create a 3D plot with the following data formats:
a <- 1:100
b <- 1:100
c <- matrix(, 100, 100)
i.e.
c(i,j) = f ( a(i) , b(j) )
each of the 1 elements i,j in matrix c is a function of a(i) and
b(j). I would like to have a,b on the x and z axis and c on the y-axis.
If you want to plot some surface, use persp(); or wireframe() from
package lattice; or persp3d() from package "rgl" or therelike.
Uwe Ligges
kate wrote:
> 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 cal
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
On 9/24/2007 10:48 AM, Li, Yan (IED) wrote:
> Hi all,
>
> I'd like to make a 3D plot with dates on one of the axes. For example,
>
> date1 <- as.Date("2007-01-25") + seq(10)
> y <- seq(10)
> z <- seq(10)
>
> I want to plot date1 on one axis, y on the other, and z as the height,
> with the points
Hi all,
I'd like to make a 3D plot with dates on one of the axes. For example,
date1 <- as.Date("2007-01-25") + seq(10)
y <- seq(10)
z <- seq(10)
I want to plot date1 on one axis, y on the other, and z as the height,
with the points connected.
Any help would be highly appreciated!
Yan
54 matches
Mail list logo