All Questions
156 questions
0
votes
1
answer
50
views
Matplotlib - size of 3D subplot within figure
I want to create a 3D plot of some data. First, I download the data:
# Import the libraries
import numpy as np
import pandas as pd
import pandas_datareader as pdr
import datetime
import matplotlib....
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 ...
0
votes
1
answer
95
views
3D surface plotting producing discontinuous polygonal faces instead of a smooth curve
I am trying to plot energy surfaces of triatomic molecules, A-B-C, in Python/Matplotlib. I have tabulated data of bond length (B1 and B2) combinations and computed molecular energies (MP3s) which I ...
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
1
answer
66
views
How do a plot the surface given by e^-(y)*cos(x) in scilab?
I want to plot a 3d surface in scilab with this profile: e^(-y)*cos(x). I plotted in geogebra and it gone allright, but when I try it in scilab it returns another surface that does not correspond to ...
0
votes
1
answer
240
views
Geodesic path between two points on surface using meshlib
I would like to use Python to get the path coordinates of the shortest (geodesic) path on a surface in 3D between two points. The solution is somehow already shown in the accepted answer in this post, ...
1
vote
1
answer
64
views
Why does obstructed surfaces are rendering above the front surfaces?
I have tried to create some asteroids for my 3d game on monogame framework, downloaded models from website and uploaded them to monogame through content manager. When I tried to render them into the ...
0
votes
1
answer
74
views
gnuplot hidden3d: How to change color of top and bottom view of the surface?
When plotting a surface with hidden3d I get the top view of the surface in green, the bottom view in blue, this can also be found in the examples, mostly the other way round, top view blue, bottom ...
0
votes
1
answer
93
views
Ruled surface in Python
User writes a number of points with their coordinates and they must be connected in Ruled surface like on this photo:
Ruled surface I need
I have example, that is perfect option, but I don`t know how ...
1
vote
1
answer
410
views
PyVista: 3D Gaussian Smoothing of PolyData
I would like to replicate the example here https://docs.pyvista.org/version/stable/examples/01-filter/gaussian-smoothing.html using my own data but trying to apply the gaussian_smooth() method to my ...
0
votes
0
answers
53
views
SurfaceSampling ThreeJS
I want to leverage ThreeJS's SurfaceSampling to add visual elements to the face of a 3d model object similar to how noise is added in this example (ref this article):
const sampler = new THREE....
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 ...
1
vote
1
answer
65
views
How to plot a surface z=f(x,y) with a hole?
I want to make a plot similar to the one at left (the goal is to illustrate an interpolation: the plot at right).
I did this plot with a constrained Delaunay tessellation (with the delaunay package) ...