Questions tagged [scatter3d]

Three-Dimensional Scatterplots and Point Identification

The scatter3d function uses the rgl package to draw 3D scatterplots with various regression surfaces. The function identify3d allows you to label points interactively with the mouse: Press the right mouse button (on a two-button mouse) or the centre button (on a three-button mouse), drag a rectangle around the points to be identified, and release the button. Repeat this procedure for each point or set of “nearby” points to be identified. To exit from point-identification mode, click the right (or centre) button in an empty region of the plot.

244 questions
0
votes
1 answer

Is it possible to turn a 2d scatter plot into 3d by including frequency in matplotlib?

xI have two fields I'm comparing. Both of them are nominals, with only ones and zeros. Men and women, and default and no default (plus lots more data in a similar format). If you put it into a scatter plot you only get four dots because of course…
user3023715
  • 1,539
  • 2
  • 11
  • 12
0
votes
1 answer

create a 3D scatter in matlab and connect groups of scattered points, with coloured lines

I have this matrix that is ready to be plotted in "Matlab" with scatter3, if the following command is used scatter3( F(:,[1]) , F(:,[2]) , F(:,[3]) , F(:,[4]) , F(:,[5]) ) (I am basically splitting the F matrix in 5 column vectors) F = …
nass
  • 1,453
  • 1
  • 23
  • 38
0
votes
0 answers

changing angle in 3d scatterplot?

I drew a 3D scatterplot in R which is a flat surface. But the plot does not clearly show what it looks like, so I'd like to change the angle to see this plot at a different viewpoint. How can I do this?
user67275
  • 1
  • 9
  • 38
  • 64
0
votes
1 answer

lab.z option in scatterplot3d?

I want to control the number of tickmarks on the Z-axis in 3D scatterplot using 'scatterplot3d' package in R. scatterplot3d(x12[,1],x12[,2],pred4,cex.symbol=0.2,lab.z=k) I tried various values of k in the above command. k=3,4 produced the first…
user67275
  • 1
  • 9
  • 38
  • 64
0
votes
1 answer

Which R plot3D color scheme is suitable for printing?

I use plot3D::scatter3D function in order to visualize my 3D dataset. Everything works fine, however, the colors that represent the z-level are barely visible when printed (especially yellow). My code so…
petrbel
  • 2,428
  • 5
  • 29
  • 49
0
votes
1 answer

Adding a plane to scatterplot3d

x <-rnorm(500,50,2) y <-rnorm(500,5,1) z <-rnorm(500,6,1) s3d <- scatterplot3d(x[z<6], y[z<6], z[z<6], zlim=range(z), color="darkgrey", col.axis="blue",col.grid="lightblue", main="scatterplot3d - 1",…
user67275
  • 1
  • 9
  • 38
  • 64
0
votes
0 answers

scatterplot3d package; how do you re-size a regression plane

I am interested in generating a series of simple 3d scatterplots which include regression planes without interactions using the scatterplot3d function in R. The following code generates almost what I am after with one problem- in many cases the…
drew_g
  • 1
  • 3
0
votes
1 answer

Overlay a map below a 3D scatter plot

I made a figure that plots a 3D scatter of a flight path. Currently, since it's just a XYZ grid, I can't actually visualize where it was placed. Is there a way I can place a map of California and surrounding oceans (which is where the flight took…
SugaKookie
  • 780
  • 2
  • 17
  • 41
0
votes
1 answer

R Scatterplot3d

I have two questions. My data set consists of four columns of data - x, y, z, function, let's say lambda. I'm trying to plot the density of the data for each unique value of z. For instance I have 1000 data points, out of which there are 10 unique…
Zuriel
  • 1
0
votes
1 answer

drawing scatterplot 3D in r

I would like to visualize my data in a scatterplot3d On my X and Y axis, I would like the same lables. Something like this: x<-c("A","B","C","D") y<-c("A","B","C","D") on the Z axis, I would like to show the comparision between lables in X and Y A…
Kaja
  • 2,962
  • 18
  • 63
  • 99
0
votes
1 answer

Join two 3D scatter plots in Matlab

I have digitized a video of a flying insect. I have the x,y,z co-ordinates of the insects head and I have the x,y,z co-ordinates of the insects tail-end. I can make two different scatter3 plots --- one of the head and the other of the tail. But I…
Black Dagger
  • 377
  • 2
  • 6
  • 18
0
votes
1 answer

Plot multiple data on 3d scatter plot

I'm having trouble plotting multiple sets of data onto a single 3D scatter plot. What I'm doing is I have a system of three equations and I'm calculating the zeros of the equations using linalg. I'm then plotting each set of zeros I get onto a 3D…
user3282005
  • 29
  • 2
  • 5
0
votes
1 answer

What to supply to scatter3D as Y and Z?

I have some data: > head(dat) V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 1: 2 2 3 2 4 1 1 0 0 0 2 2 0 0 2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4: 0 0 0 0 0 …
4d4c
  • 8,049
  • 4
  • 24
  • 29
-1
votes
1 answer

How to simulate and display gas particles moving in a box

import matplotlib.pyplot as plt import numpy as np from matplotlib.animation import FuncAnimation fig = plt.figure(figsize=(4, 4), dpi=80) ax = plt.gca() scatter = ax.scatter([], [], s=0.1) x = dz * np.random.random(N) y = dz * np.random.random(N) z…
-1
votes
1 answer

What and how to interpret scatter_3d plot?

I have a subset of the MNIST handwritten digits dataset. I'm trying to reduce the dimensions using PCA, kernel pca, lle and tsne while plotting the result usign Plotly.express.scatter_3d. But as a beginner, I don't know how to interpret from the…
Anser Waseem
  • 37
  • 1
  • 8
1 2 3
16
17