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
2
votes
0 answers

how to have multiple axes in plotly.js for 3D chart

I want to do something similar than here https://plot.ly/javascript/multiple-axes/ but for 3D charts. For instance keep x and y unchanged and have 2 z-scales for 2 different frames. I've seen that "scene" can have different instance but I'm not sure…
Pierre GUILLAUME
  • 450
  • 3
  • 24
2
votes
2 answers

How to mark a point (I have x,y,z for it) in a 3D big data scatter plot with different color using matlab?

I have two 3D volume images and I want to locate one point from the first image (I have specific x, y, and z values for this point) and mark it with a different color. I mean how I can insert the values of x, y, and z and get this point in my graph…
Sam
  • 53
  • 5
2
votes
1 answer

matplotlib's scatter module does not behave as expected with "color" and "marker" options in 3D plots

When using matplotlib's scatter module for plotting scattered data on 3D, the options color and marker do not behave as expected, e.g., color='r', marker='o' produce blue dots surrounded by red circles, instead of just filled red circles. Why this…
DavidC.
  • 669
  • 8
  • 26
2
votes
2 answers

3D Scatter Chart JavaFX: How to show legend and measures near axis

Looking this post, I've tried to implement in javaFX, with many difficulties, a Scatter Chart 3D where the grid is my x,y and z axis and the spheres are my points. How Can I put a legend, axis labels and the range numbers along the axis? I can use…
2
votes
2 answers

Python: Animated 3D Scatterplot gets slow

My program plots the positions of particles in my file for every time step. Unfortunately it gets slower and slower although I used matplotlib.animation. Where is the bottleneck? My data file for two particles looks like the following: # x y …
Gilfoyle
  • 3,282
  • 3
  • 47
  • 83
2
votes
1 answer

GLM prediction for surface plot in scatter3D() in R

I'm trying to produce a surface plot with overlain points from a binomial GLM using the scatter3D() function. To do this I am using predict() to predict the z-surface for different values of x and y. # Data: library(plot3D) structure(list( x =…
Calen
  • 305
  • 4
  • 17
2
votes
2 answers

R-scatterplot3d rendering in Beaker Notebook

I'm trying to get the scatterplot3d package of R to render within a Beaker Notebook, but cannot get it to work. I can run the code without error, but the graphic is not displayed. Setting the scatterplot3d output to a variable and printing the…
2
votes
1 answer

R - 3Dplot - adding a condition on transparency

I'm struggling with scatter3D from plot3D package. I would like to be able to put a transparency threshold on my colvar. For example, below, I should have every point with the colvar<100 (so from red to the middle of green) fully transparent. I…
R_SOF
  • 268
  • 1
  • 7
2
votes
0 answers

Animating 3D scatter plot sequence in Matplotlib

I have timeseries data in 3D: import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from mpl_toolkits.mplot3d import Axes3D # make data xs, ys, zs = np.random.normal(0, 10, 1000), np.random.normal(0, 10,…
crypdick
  • 16,152
  • 7
  • 51
  • 74
2
votes
1 answer

Gnuplot 3D - plot scatter points and a surface *and* lines between the them

I've been unable to find a way of producing the plot described in the title, does anyone know how to do this if it's possible? I'd like to plot a surface from a function, and plot points from a file, and have lines drawn between the points and the…
Cog77
  • 23
  • 5
1
vote
1 answer

In what order is meshgrid defined in scatter plot

I have already asked a similar question here and have almost figured out the answer by myself. The only thing that remains is the following: I am using meshgrid to create a 3D grid. When specifying the colors in color_map.set_array(colo) I am using…
eeqesri
  • 217
  • 1
  • 2
  • 9
1
vote
1 answer

error need finite xlim during plotting scatter 3d for 3 axis

I am trying to plot scatter 3d plot for 3 axis. I used package: library(scatterplot3d) and this my dataframe: dput(gene) structure(list(rsid = c("geneid1", "geneid2", "geneid3", "geneid4", "geneid5", "geneid6", "geneid7", "geneid8", "geneid9",…
Rhea Bedi
  • 123
  • 6
1
vote
1 answer

Disabling coordinate lines in plotly

I am trying to disable the black coordinate lines that appear in plotly. I still want the stock tickers to appear as text in hover. I have already tried turning off hovermode but then my tickers don't appear. Is there any way to specifically turn…
johnf42
  • 11
  • 1
1
vote
0 answers

How can I plot a large array of Scatter3d subplots using plotly?

I want to create a large number of Scatter3d plots in a plotly subplots array. When I plot 16 or fewer plots, everything renders correctly, but when I try to plot e.g. 25 plots in a 5x5 array, only the last 16 plots are rendered. How can I get more…
CnrL
  • 2,558
  • 21
  • 28
1
vote
1 answer

3d scatter plot is displaying a black window

Here is an example of matplotlib displaying a black window on my local environment. import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np fig = plt.figure() ax = Axes3D(fig, elev=4, azim=-95) xs, ys, zs =…
IntegrateThis
  • 853
  • 2
  • 16
  • 39