mayavi.mlab Questions

1

Solved

I'm trying to plot a 3D curve on top of a 3D surface in Matplotlib, but when the curve is in front of the surface, it is barely visible (the curve is the image of the unit circle): There should be...
Nkvd asked 18/6, 2019 at 8:43

1

In Mayavi I would like to see the grid of the axes in the following plot # Source: <<https://scicomp.stackexchange.com/a/23148/10048>>. import numpy as np from mayavi import mlab # Te...
Soilasoilage asked 25/2, 2019 at 9:57

2

Solved

I have a 2D array Z that stores the height at that element's position. Other than using the method here in which I need to create array X and Y with the same size as Z, are there any simpler method...
Aurelia asked 8/6, 2015 at 10:36

2

Solved

I have a code in python to render a few spheres in python that looks like this: %matplotlib inline import numpy as np import matplotlib.pyplot as plt import random import mayavi from mayavi import ...
Steib asked 11/9, 2015 at 2:53

1

Solved

Is there a way to plot a 3 variable implicit equation using sympy. Going by docs it has only support for implicit 2d plots. Or are there any other options for plotting a 3d plot using python where ...
Cacilie asked 14/3, 2015 at 22:8

1

I want to change the color of a surface depending on another value (an ID) that takes discrete values (so I need a discrete colorbar). In the simplified example below I have drawn a sphere with 3 d...
Leffler asked 17/10, 2014 at 15:41

1

Solved

The font size setting in Enthough Canopy Mayavi mlab appears to be broken. Neither the command: mlab.axes.label_text_property.font_size = 12 (e.g.) nor the direct menu font size command (advance...
Pickup asked 7/11, 2013 at 0:9

1

Solved

Is there a bug in the Mayavi font rendering that prevents changing the font size? I am using the Mayavi2 GUI to change the font size of the axis labels on a volumetric plot. To get there I go to: ...
Roobbie asked 25/2, 2013 at 22:44

1

Solved

Using iPython Notebook, I have been able to bring up a globe of the Earth with code like: from mayavi import mlab from mayavi.sources.builtin_surface import BuiltinSurface ocean_blue = (0.4, 0.5,...
Kaz asked 8/1, 2013 at 22:57

1

Solved

I am trying to learn mayavi2 for python and can not get my savefig to show my plots. I found this example code: from numpy import pi, sin, cos, mgrid dphi, dtheta = pi/250.0, pi/250.0 [phi,theta]...
Currish asked 14/5, 2013 at 12:48
1

© 2022 - 2024 — McMap. All rights reserved.