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

How to specify marker size as diameter in input space with plotly Scatter3d?

Experimenting with go.Scatter3d I noticed the option marker sizemode="diameter". It seems that this option is not related to the diameter of the markers in input space. Is it possible to resize the marker with custom diameter in input space? E.g.…
RaimiSol
  • 33
  • 1
  • 7
0
votes
0 answers

Python: Pickle.load function returns the correct 3d-scatter plot, but is not interactive anymore

this is my first question here so let me know if I should make any improvements regarding e.g. formulation of the question, code and so on. So I am creating several 3-D Scatter Plots in Python and want to safe them for later re usage and…
xArbisRox
  • 91
  • 5
0
votes
1 answer

3D scatter animation only animates first entry in tuple, matplotlib

I am trying to set up a 3D scatter plot animation, following the example here: Matplotlib 3D scatter animations I put together the following code: import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from…
ClimateUnboxed
  • 7,106
  • 3
  • 41
  • 86
0
votes
0 answers

For Axes3D.scatter() how do you change points that were described using 3 vector to 2 numbers for MatPlotLib in python?

I created a scatter plot using a dataframe that has 3 columns (x,y,z). I am now changing the scatter plot type to an Axes3D.scatter() so that it is 3D and can rotate. Axes3D.scatter() takes two position arguments, and I don't know how to convert my…
hko
  • 1
  • 1
0
votes
1 answer

How to plot a multivariate function with known coefficients using -scatter3d-

I am trying to use R to plot a function that takes the form: $$z=\beta_{0}+\beta_{1}x+\beta_{2}x^{2}+\beta_{3}y+\beta_{4}y^{2}+\beta_{5}x*y$$ Where I have numerical values for all the $\beta$'s. I can't seem to find an example of using the the…
Brennan
  • 419
  • 5
  • 17
0
votes
1 answer

Highcharts 3D Scatter Plot: Change Description shown when hovering points

I am totally new to Highcharts, and I would like to know, if you can change the content of the "description box" shown for a point, when hovering over it with the mouse. I tried: https://jsfiddle.net/by0sxgz1/17/ Using the pointDescriptionFormatter…
Shushiro
  • 577
  • 1
  • 9
  • 32
0
votes
1 answer

How to give only 'n'(say 3) colors randomly to scatterplot points in python?

Generated random numbers x,y,z, then put them in scatter 3d plot but am unable to plot the points, randomly with 3 specific colors (say red,black,yellow). In documentation of matplotlib.pyplot.scatter, I am unable to understand the other 3 ways of…
Rex5
  • 771
  • 9
  • 23
0
votes
3 answers

How to represent the scatterpoints of a 3D function with GNUPLOT

I would like to represent in 3D the result of the function f(X,Y,Z) = (X²(Y+Z) + Y²(X-Z) +Z²(-X-Y) -21) with scatter points. Any advice how to do this in GNUPLOT is welcome (in -100 to +100 in each direction). I am trying to see the "0" place at X Y…
floppy_molly
  • 175
  • 1
  • 10
0
votes
0 answers

How to display RGL/CAR scatter3d plots as lines for trajectories

Undertaking a data visualization module, I'm trying to use R (course requirement) to visualize 3D trajectories of autonomous agents. I have xyz data extracted from unity, looking to produce an interactive visualization. With scatterplot3D() from the…
Sergio
  • 1
0
votes
1 answer

Iteratively adding points to a 3d scatter plot in matplotlib

My current code does not yield the expected result: fig = plt.figure() ax = fig.add_subplot(111, projection='3d') colors = cm.rainbow(np.linspace(0, 1, len(gt_x))) for i in range(len(gt_x)): ax.scatter(gt_x[i], gt_y[i], gt_z[i], s=50,…
whiletrue
  • 10,500
  • 6
  • 27
  • 47
0
votes
1 answer

Apply scatter3 to each cell of a cell-array using cellfun

How to apply scatter3 on each {3x10} cell of ycell? numOfSensors = 10; numOfSets = 7; %% sample data preparation x = 1:3; y = rand(length(x), numOfSets*numOfSensors); yCell = mat2cell(y, 3, numOfSensors*ones(1,numOfSets)); % this is my sensor…
P. Bika
  • 1
  • 1
0
votes
0 answers

How to generate 3d scatter plot with different colours for labels in MATLAB?

I have used TSNE in MATLAB for dimensionality reduction of a large data. I have been able to generate the Scatter Plot for TSNE in 2 dimensions which shows the labels of the cluster in different colors for each label, but, I am unable to do so in…
JChat
  • 784
  • 2
  • 13
  • 33
0
votes
1 answer

Is there anyway of adding latex commands to the labs in scatter3D in r?

I am looking for a way to write latex commands such as $\nu$ and $S_t$ to the labs of a scatter3D() from the package plot3D.
ABIM
  • 364
  • 3
  • 19
0
votes
0 answers

Matplotlib: Retrieve rgba from 3D scatter plot

I have a 3D scatter plot like this: import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D x = np.random.random(10) y = np.random.random(10) z = np.random.random(10) rgba = np.random.random((10, 4)) fig =…
jmd_dk
  • 12,125
  • 9
  • 63
  • 94
0
votes
1 answer

Animate Points Movement in Scatter plot (matplotlib python)

I'm not a beginner, but I'm also not advanced dev of python code. I'm been trying to animate points movement in scatter plot and to put annotation on every point. All I have done is animation of one point with no annotation. I've searched similar…
Riao
  • 3
  • 1
  • 4