All Questions
19 questions
0
votes
1
answer
102
views
3d Surface plots in R - conversion from dataframe to matrix for plot_ly [closed]
Does anyone have any advice, or can point me to a resource, to help with converting a dataframe to a matrix for use in a plot_ly 3d surface graph?
There are a few questions similar to this, but none ...
1
vote
1
answer
234
views
How to add a colorbar title to a 3D surface image when using Plotly?
I have been trying to create a 3D surface plot using Plotly with Python3. I am drawing based on the official case, but the case does not explain how to add a title to the colorbar.
I tried running the ...
0
votes
0
answers
142
views
How to add a grid overlay to a 3D plotly in R?
I am trying to create a 3D plot with grid over the top of the data (similar to this example: How to add a meshgrid to a plotly 3d surface?) but no matter what i try, it isnt working. Does anyone know ...
0
votes
0
answers
79
views
incorrect scale `plotly` 3D surface
I have a 3D surface but the scale seems incorrect.
Its:
grid.df
X Y rkgls
1 264250 6247750 9.12
2 264750 6247750 9.25
3 265250 6247750 9.53
4 265750 6247750 9.99
...
1
vote
1
answer
125
views
3D plot go.Surface, surface doesn't appear
I'm trying to plot four 3D surfaces, but one of them doesn't show. However I think I have done the same thing for the three that appear.
I tried reshaping my data or modifying the ranges and the ...
0
votes
1
answer
207
views
Adding a separate mesh3d to same figure in plotly - python
I am trying to add 4 different meshes (roof, ground, 2 walls) to close up a shape in the same figure using plotly
Plotted each seperatley, every mesh works as intended, however, when put together some ...
0
votes
1
answer
870
views
Is there a way to display flat face colors in plotly for 3D Surface Charts?
I was using matlab in creating 3D surface charts but lately moved to plolty js. Everything works fine in plotly's 3D Surface charts except that the color scheme is gradient in plotly. I am trying to ...
1
vote
0
answers
197
views
How to draw different sets of contours over 3d surfaces with plotly?
I would like to draw 2 different sets of contours lines over a 3D surface using plotly. So far I can only get 1 set at a time, namely, the one from the last call to 'fig.update_traces' below. How ...
1
vote
0
answers
560
views
Change legend box names in Plotly (3D) Surface in R
I'm using the following code to create a 3D plot surface in R
superficie3d <- function(x.from,x.to,y.from,y.to,fxy,x.lab="x",y.lab="y",z.lab="z",main="",...
1
vote
0
answers
134
views
Transform columns into 4 dimensional data for plotly 3d surface chart
I try to reshape my data to get a 3d surface plot in plotly.
I have 4 columns and I would like to use them for the 3 axis and the 4th column for the surface color. But I am struggling to get the data ...
1
vote
0
answers
83
views
Last element of y-axis and x-axis is not shown in surface plot
I have a data frame uploaded as a R object in the drive here: https://drive.google.com/file/d/12mCnKYzzj8-CBPK7cS6pRBJwTpFKkti8/view?usp=sharing (It was hard to replicate the data and wanted to use ...
1
vote
1
answer
406
views
Problem in Plotting and Adding Surface in Plotly
I´m a R newbie and currently try to plot my data in a 3d chart with a surface. I tried using the package plotly, but fail to do it.
I´ve got a matrix d3 (see below), but in the plot (see link below), ...
0
votes
1
answer
440
views
How to extend 3d surface graph
i am new in plotly. I have 3d surface graph in plotly.js, but data on y axis are densely stored and i want to extend space between data on y axis.
I try use axis range and some other parameters but ...
1
vote
1
answer
3k
views
Custom tick marks / labels appear on x & y axis in plotly surface plot?
I would like to control the tick marks for the surfaceplot
Using the standard volcano code here for a reproducible code. This is what I tried but it doesn't seem to be working.
p <- plot_ly(x = ...
1
vote
0
answers
301
views
Z axis of Plotly 3D surface not matching
I am trying to understand the underlying structure of the dataframe that been used to plot the 3D surfaces in plotly
The following code is used to plot the 3D surfaces
library(plotly)
plot_ly(z = ...