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

Can I use an image to mark a point in a Matplotlib plot and how?

I would like to mark a few points in a 3D scatter plot in Python + Matplotlib using a small symbol image instead of Matplotlib's standard marker signatures. Alternatively, I could do with using a unicode glyph instead of an image if this is…
Thomas Arildsen
  • 1,079
  • 2
  • 14
  • 31
0
votes
1 answer

Draw PCA3D plot based on colnames?

I have a table like blow: I could draw simple PCA plot with 2 dimension based on below commend but I would like to have 3D PCA based on col-names? 4_rep1 4_rep2 8_rep1 8_rep2 7_rep1 7_rep2 3_rep1 3_rep2…
star
  • 743
  • 1
  • 7
  • 19
0
votes
1 answer

Best Way to Plot three vectors in R?

I have a vector of length 10k for each of the variables x and z. For each of the 10k, I have also estimated propensity scores using logit and other methods. So I have another vector that contains the predicted propensity scores. I want to plot…
user52932
  • 155
  • 10
0
votes
0 answers

Bringing one point to the front in matplotlib 3D scatter

I am trying to bring the star to the front in the following plot. I tried zorder, but it does not work. Do you have any suggestion? from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt fig = plt.figure(figsize=(12,6)) ax =…
tcokyasar
  • 582
  • 1
  • 9
  • 26
0
votes
1 answer

matplotlib: change marker color based on label value

I'm drawing a 3D scatterplot, and intend to give different color to each marker based on the value of y-axis (country) label. I have the following code. The colors of markers aren't what they need to be. I think I'm doing something wrong or…
SaadH
  • 1,158
  • 2
  • 23
  • 38
0
votes
1 answer

Change Color of Scatter3d in Canvasxpress using R

In the first example of this website (https://cran.r-project.org/web/packages/canvasXpress/vignettes/getting_started.html#scatter-3d-plot), there's a 3d scatterplot made with canvasxpress package using R. Just copying and pasting the code you can…
guidebortoli
  • 659
  • 3
  • 8
  • 16
0
votes
1 answer

Dynamically Generating Plot with scatter3d and Shiny

I'm trying to create a quick app that lets a user select 3 variables and regenerates a 3D scatter with scatter3D. I keep hitting this error when using shiny and I can't see to rectify it. Error: not all arguments have the same length My code also…
dchow
  • 3
  • 2
0
votes
1 answer

Matlab: using scatter3 to draw horizontal squares

h1 = scatter3(X_Horiz,Y_Horiz,Z_Horiz,200,'s','filled',... 'MarkerEdgeColor','b','MarkerFaceColor',[0 .75 .75]); hold on; h2 = scatter3(X_Vert,Y_Vert,Z_Vert,200,'s','filled',... …
FortranFun
  • 156
  • 1
  • 11
0
votes
1 answer

Enable rotation of Highcharts 3D scatter chart on touch devices

In my web application I utilize this beautiful 3D scatter chart rendered using Highcharts. It does rotate nicely using the mouse by clicking on it and dragging around. However, on neither my phone nor my tablet it does rotate also. The code for…
Emdee
  • 1,689
  • 5
  • 22
  • 35
0
votes
0 answers

Color by factor in 3D scatter plot returns error "argument X matches multiple formal arguments"

I am simply trying to 'color by factor' in a 3D scatterplot, but get the error that the col= argument "matches multiple formal arguments". From others questions and answers, I understand that it has to do with "passing over arguments" between…
Mathilde
  • 191
  • 1
  • 11
0
votes
0 answers

Can I rotate axes manually using scatterplot3d package?

I plotted one dataset and additional plots and planes in 3D Figure. I want to rotate the axes and get snapshot. (1)Can I plot points and planes additionally using rgl package? (2)Can I rotate axes manually using scatterplot3d package like the…
rrkk
  • 437
  • 1
  • 5
  • 15
0
votes
1 answer

Redraw issue in Highcharts 3D Scatter Chart

Here I'm working on Highcharts 3D Scatter chart, based on the sample jsfiddle. In the fiddle,I used to redraw the chart, while emptying the div which contain chart,scatter points get removed ,but the 3D container is not removed.And hence chart is…
Shijo C J
  • 81
  • 1
  • 11
0
votes
1 answer

How to draw multiple 2d-plots in a 3d-plot in R?

I am not sure if I formulated the title/question correct. Maybe one of my problems are missing terms in my vocabulary. Sorry. But lets try: I have data (sleep in this example) I would describe as three-dimensional. Maybe a real statistican wouldn't…
buhtz
  • 10,774
  • 18
  • 76
  • 149
0
votes
1 answer

How to get correct ticklabs in a 3d-scatterplot in R?

Please see this example. Look at y axis. The data there has only two levels: 1 and 2. But in the plot 6 tickmarks drawn on that axis. How could I fix that. The x axis has the same problem. The data extra group ID 1 0.7 1 1 2 -1.6 1 …
buhtz
  • 10,774
  • 18
  • 76
  • 149
0
votes
0 answers

Highcharts: 3D scatter data points projections

I am trying to create a 3D-scatter plot of some data with Highcharts. To make it easier to understand the 3D position of the data points, specially when using a still picture of the plot instead of the interactive draggable version, I would like to…
ZZR
  • 49
  • 4