All Questions
759
questions
1
vote
0
answers
35
views
Colouring a surface using Mesh3d in python plotly
I would aim to colour a surface in a 3D plot, created using plotly.graph_objects.
I worked on an approach incorporating Mesh3d, the code runs, but the wanted surface is still not coloured. What is the ...
1
vote
1
answer
31
views
Why does plot3 only show axes in GNU Octave?
We want to make a 3D plot of values that are calculated by GNU Octave.
It only shows us the axes of the graph, no dots. When making a normal 2D plot (i.e. plot (x,y)) everything works normally. The ...
0
votes
0
answers
34
views
3D plot of GAMM with a 4-way interaction
I am running a GAMM to test how the likelihood of a response variable varies according to a predictive variable, date, and geographical coordinates of each sampled point. For this, I built the ...
0
votes
1
answer
30
views
Matplotlib 3D 'contour3D' and 'plot_surface' Clash: Contours Not Appearing Above Surface Plot
I'm facing an issue while trying to visualize 3D equipotential surfaces using Matplotlib. Specifically, I'm plotting a surface using plot_surface and then attempting to overlay contour lines using ...
0
votes
1
answer
37
views
Seek help in resolving 'ValueError'
import numpy as np
from matplotlib import pyplot as plt
from matplotlib.colors import LinearSegmentedColormap
X = np.empty([10,150])
Y = np.empty([10,150])
Z = np.empty([10,150])
plt.style.use('...
0
votes
2
answers
29
views
Setting 3D-plot scale to logarithmic in Matplotlib giving an almost empty 2D plot
I'm trying to set the scale of a plot to logarithmic, using the code below. When plotting without the log scale, it gives me a correct plot.
for it, folder in enumerate(norm_folder_list):
fig = ...
0
votes
0
answers
32
views
Horizontal Angle Transmission in Ray Tracing Program - MatLab
I am working on a simulation of underwater sound propagation in MatLab. Currently, the program works in 2D, however, I am trying to transition it into 3D.
Without just copying all 100+ lines of the ...
0
votes
0
answers
29
views
Make one 3d plot from two different projections
So i have LIDAR data that is being collected from two separate LIDARs, one is making a horizontal sweep (second one), while other is maping the view from above (first one), essentially one is making ...
1
vote
1
answer
71
views
From hypervolume to 3D solid graph RStudio
I'm looking for an advice about how to do something similar to the following 3D graph using the package Hypervolume and rgl, to display the hypervolume overlap between my data.:
I'm running the ...
1
vote
1
answer
71
views
Connecting all points with lines in 3D plots in R
I am trying to make a 3D plot where all pairs of points would be connected by a line. The closer I can get is what follows (i.e., using type = "b"), but that only plots the "path", ...
0
votes
0
answers
37
views
3D pose estimation plot is skewed. Is it a problem with the camera calibration or the plotting?
This is my code for the camera calibration (from https://temugeb.github.io/opencv/python/2021/02/02/stereo-camera-calibration-and-triangulation.html)
def calibrate_camera(images_folder):
...
1
vote
0
answers
63
views
How do I plot a 3D-block in matplotlib/python?
Im trying to plot a 3D-Block similar to this: example picture
On the reference picture we have block in every possible place (in every mesh node). They're pretty opaque, but their colors and sizes ...
0
votes
0
answers
54
views
Plotting a three variable complex function with Maple
I am a beginner to Maple and I have to plot a three variable function with Maple.
The function I have to graph is a solution to a two dimensional, time dependent PDE :
f(x,y,t) = e^{it}sin(2x).sin(4y) ...
0
votes
1
answer
37
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
93
views
How can I add contour lines to a 3d plot built with persp()?
I am trying to plot a 3D chart of the function x^2+y^2 and add the contour lines to try to have the same aspect as this figure built with Matlab:
However, I am not able to add the contour lines, the ...