mpl_toolkits.mplot3d.proj3d.world_transformation

mpl_toolkits.mplot3d.proj3d.world_transformation(xmin, xmax, ymin, ymax, zmin, zmax, pb_aspect=None)[source]

Produce a matrix that scales homogeneous coords in the specified ranges to [0, 1], or [0, pb_aspect[i]] if the plotbox aspect ratio is specified.

Examples using mpl_toolkits.mplot3d.proj3d.world_transformation