python : plotting a wireframe 3D cuboid
I want to plot 3d cuboid in python. Input : center (3 points for the center) radius (3 radius values, one for each dimension) Ideally it should be a wireframe plot(I need to see whats inside).I am not exactly sure how to go about this. Using python matplotlib or Mayavi is fine. Thanks! So far I have tried the following code ..but that only draws a cube from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import numpy as np from itertools import product, combinations fig = plt.figure() ax = fig.gca(projection='3d') ax.set_aspect("equal") #draw cube r = [-1, 1] for s, e in