0

I'm sucessfully generating a 3D plot with Mayavi, but can't find any way to rescale the axes to a semilog representation.

Is this possible?

I also tried taking a screenshot (as suggested by another answer I read before), which I placed after my mayavi code

arr = mayavi.mlab.screenshot()
fig = plt.figure(figsize=(5, 5))
pylab.imshow(arr)

plt.semilogx()

plt.show()

However this just produces a segmentation fault.

Thanks in advance!

Felipe Lema
  • 2,700
  • 12
  • 19
  • You're mixing `matplollib` with `mayavi`. If I'm correct, your plots involve `matplatlib` and not `mayavi`, so you might as well stick to the first. – Felipe Lema Jul 31 '19 at 13:40
  • To my knowledge, logarithmic scales can only be applied to colorbars in Mayavi. – Patol75 Aug 06 '19 at 07:27

0 Answers0