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
1
vote
1 answer

How to find confidence interval in 3d plots in cran R?

I have this 3d plot that I draw in cran R rb = rep(seq(0.1, 1, 0.1), 10) ro = sort(rb) lods = runif(100) #create a random LOD score library(scatterplot3d) lodsplot<- scatterplot3d(rb, ro, lods) I found the maximum of the LOD score using max(lods)…
Meo
  • 140
  • 1
  • 9
1
vote
0 answers

how draw ellipses on a scatterplot3d

I have the following Data frame: cost quality safety time status 1 13 6 3 4 Benchmark 2 10 4 5 10 Benchmark 3 8 9 3 9 Benchmark 4 7 8 9 9 Benchmark 5 4 4 4 2 …
user
  • 592
  • 6
  • 26
1
vote
1 answer

Scatterplot3d can handle data less than 5 columns/rows?

When the data less than 5 columns or rows, there will be dummy grids. Is it possible to avoid this? set.seed(123) my.mat <- matrix(runif(20), nrow = 4) dimnames(my.mat) <- list(LETTERS[1:4], letters[11:15]) s3d.dat <- data.frame(columns =…
xukun
  • 11
  • 3
1
vote
1 answer

Scatterplot 3d without the vertical lines

I want to plot a 3 dimensional scatter plot of the following data structure(list(F = c(18.2108626198083, 2.06349206349206, -15.6842105263158, 10.9896271376507, -0.556328233657855, 12.076929537247, -16.769617936399, -5.40540540540539,…
discipulus
  • 2,665
  • 3
  • 34
  • 51
1
vote
2 answers

"TypeError" in making a scattered plot using matplotlib in Python

I'm attempting to make a 3D scattered plot to classify data (for an assignment) from a CSV file.. I have three attributes and I'd like to see which class they belong to (Either class 1 or class 2) based on the first three attrib values. So far,…
koffery
  • 53
  • 1
  • 1
  • 5
1
vote
1 answer

Selecting values plotted on a scatter3 plot

I have a 3d matrix of 100x100x100. Each point of that matrix has assigned a value that corresponds to a certain signal strength. If I plot all the points the result is incomprehensible and requires horsepower to compute, due to the large amount of…
Seitam
  • 388
  • 2
  • 12
0
votes
1 answer

Filtering data in 3d scatter plotly creates plot with different third color other than the two colors specified in color scale, in angular

I have a 3d scatter plotly, the data has a flag true or false and the plotly gives specific color for true which I map to 0 and another color to false which I map to 1 this is the plotly showing unfiltered data clicking on Normal at the top will…
Sara Sherif
  • 68
  • 1
  • 7
0
votes
0 answers

Show all label for 3D scatter legend

Today I want to make 3d scatterplot with matplolib for my dataset. But when I would like to show the legend, only one item was displayed (the first one), I don't know to correct it. There is my code : from mpl_toolkits.mplot3d import Axes3D import…
0
votes
0 answers

How to remove lines connect dots and surface layers in R "scatter3d"?

I used scatter3d to create a plot below: Here is my codes: scatter3d(x, y, z, groups = db$Tumor_biology_code, surface=TRUE, grid = FALSE, ellipsoid = FALSE, surface.col = c("#E69F00", "#56B4E9"), id = db$number, …
0
votes
0 answers

scatter on a Axes3D figure is not plotting from a for loop

This code is part of a larger one, in which the rest works superb. After several tries I wasn't able to find a solution to this. We begin with "masa, costo volumen" which are lists that append new sublist depending of the user's will. After it's…
0
votes
1 answer

3D Scatterplot in Python using strings instead of values

I need to make a 3d plot, where the axes will have labels in string instead of values. So I have 3 lists, the same size, and I need to have the first element of the first list to be my X coordinate, the first element of the second list to be my Y…
0
votes
1 answer

Want to plot 3d scatter plot with color picking up from the fourth attribute which is cluster no

# -*- coding: utf-8 -*- """ Created on Thu Feb 16 18:17:32 2023 @author: avnth """ import seaborn as sb import pandas as pd import numpy as np from sklearn.cluster import KMeans from sklearn.preprocessing import scale from sklearn.metrics import…
0
votes
1 answer

How to give different colors to the cones in plotly.js

`