Rendering MATLAB patch faces with Plotly fig2plotly()
问题 Problem: When attempting to export a polygon rendered with the patch command in MATLAB with fig2plotly , the final output is lacking the specified face colours. Perhaps a demonstration would help. Take the following vertices and faces to define a cube (lifted from the MATLAB documentation): vert = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1]; fac = [1 2 6 5;2 3 7 6;3 4 8 7;4 1 5 8;1 2 3 4;5 6 7 8]; And render it with the patch command, adding some colour information to the faces: patch(