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

How to show text information on the lines of Plotly Scatter3d?

I have made a network (Graph of networkX) and want to use plotly.graph_objects for visualization. In the edge of the graph, I have added some information (str type). For example, information is stored as below. G[Node1][Node2]['info'] = "ABC" And…
JY Kim
  • 11
  • 4
0
votes
0 answers

How fit='smooth' is done in scatter3d?

http://www.sthda.com/english/wiki/amazing-interactive-3d-scatter-plots-r-software-and-data-visualization I see fit='smooth' is mentioned above. But it is not clear what is the underlying code to compute the smooth result. Could anybody show me the…
user1424739
  • 11,937
  • 17
  • 63
  • 152
0
votes
0 answers

scattering a set of 3d points over time

I have a data set of the following class: class Event: def __init__(self, timestamp, lx, ly, lz, nature): try: self.timestamp = datetime.strptime(timestamp, "%d/%m/%Y %H:%M") except: self.timestamp =…
0
votes
0 answers

Unrecognized marker array

I am trying to plot a 3D scatter plot in matplotlib and for some reason I keep getting this unrecognized marker error. I am not sure how to fix this error. This is my code so far: def display_3d_data(lp) : fig = plt.figure(figsize = (8, 8)) fig…
0
votes
1 answer

How to create list of ThemeColor in Theme3D QML type?

Created custom Theme3D for Scatter3D component (QtDataVisualization module) like this: Theme3D { id: themeDark type: Theme3D.ThemeIsabelle font.pointSize: 20 baseColors: [ "red", "green", "blue" …
Aleksey Kontsevich
  • 4,671
  • 4
  • 46
  • 101
0
votes
1 answer

How to customise 3D scatter plot

Let say, I have below 3D scatter plot library(mvtnorm) library(threejs) u <- seq(-5, 5, by = .1) v <- seq(-5, 5, by = .1) M <- expand.grid(u,v) x <- M$Var1 y <- M$Var2 sigma <- matrix(c(1, .5, .5, 1), nrow = 2, byrow = TRUE) z <- dmvnorm(x = M,…
Bogaso
  • 2,838
  • 3
  • 24
  • 54
0
votes
1 answer

How to define marker color based on category string value for a 3d scatter plot

I am going to plot a 3D scatter in R and I'd like to color the points in the plot based on the string or number category. The category is "cancer control control control control cancer cancer control cancer control........" or 1 0 0 0 0 1 1 0 1…
0
votes
1 answer

react hightchart: add gradient shading to the points

In classic highcharts it is possible to add a gradient coloring to the points: Highcharts.setOptions({ colors: Highcharts.getOptions().colors.map(function (color) { return { radialGradient: { cx: 0.4, …
Zhihar
  • 1,306
  • 1
  • 22
  • 45
0
votes
1 answer

How do I plot a 2 x 2 three dimensional figure of scatter based subplots in python to make them evenly spread out across the figure?

These are my configurations using matplotlib for my plotting figures import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax_tl = fig.add_subplot(211, projection='3d') ax_br = fig.add_subplot(221,…
pysolver33
  • 307
  • 1
  • 5
  • 13
0
votes
1 answer

How can get scatter 3D-plot using different dataframes to set ax.scatter parameters?

Recently, I'm suffering to demonstrate a 3D-scatter plot using 2 different dataframes. The idea is to offer a 3D-scatter plot including 2 legends for reporting the results of the clustering algorithms. Let's say we I have main dataframe df1 contains…
Mario
  • 1,631
  • 2
  • 21
  • 51
0
votes
1 answer

How to enlarge the axis labeling of scatter 3D in R

I want to enlarge the size of the axis labeling. par(mar=c(1,1,1,1)) scatter3D(x = Eplot_sand.mean$OM, y = Eplot_sand.mean$rho_B, z = Eplot_sand.mean$Pv.mean, phi = 20, theta = 35, bty = "b2", type = "h",alpha = 0.8, clim…
0
votes
1 answer

Labeling points and defining group colors using scatter3D() function from plot3D library

I am new to R and having some trouble with visualizing some data. I have some data in this form: picture of data table I used the function above in order to 3d plot them: scatter3D(x=data$X, y=data$Y, z=data$Depth, bty="g", pch=20, cex=2,…
g_souk
  • 1
0
votes
1 answer

Separate scatterplots and add line

I have a data frame with grouped datasets, each group has 12 rows and 2 columns with the third column being a categorical variable. I am trying to plot 3 different scatterplots (as a function of the categorical variable) with fitted lines but so far…
David N.F.
  • 35
  • 4
0
votes
1 answer

How to keep Opengl Scatter Instances size unchanged?

Here is my question, i will list them to make it clear: I am writing a program drawing squares in 2D using instancing. My camera direction is (0,0,-1), camera up is (0,1,0), camera position is (0,0,3), and the camera position changes when i press…
YNX
  • 511
  • 6
  • 17
0
votes
2 answers

Matplotlib Legend doesn't show up in 3D-scatterplot

I'm trying to plot a 3D-scatterplot using matplotlib but for some reason the output doesn't show up with the legends. I want the legend to be one of my dataframe columns (category). fig = plt.figure(figsize=(12,8)) ax = Axes3D(fig) color_dict = {…
Flika205
  • 532
  • 1
  • 3
  • 18