the pdf output of your manual looks really nice.
Unfortunately, it the script always gives me the following error message:
"Undefined function 'u3d_pre_surface' for
input arguments of type 'double'."
I am using scatter3 to generate the matlab figure. Does the script support this?
I'm not using MATLAB any more, so I am not familiar with the changes to graphics. I only know that graphics objects, instead of handles are used now. If there is a patch, please send a pull request on github.
This works great on R2014a.
We now have 2014b, which changes how matlab handles graphics. The issue that Jake has flagged below occurs the graphics objects no longer have 'children' and have to be handled differently. I'm trying to get it to work and I'm having some success, but I'm relatively new to matlab so it's taking time. I'll post an update if I have any luck, but if anyone gets there before me, please go ahead.
Delighted with this. However, not yet working with the Updated Graphics System on the 2014b Prerelease (can't see why). Is anyone else interested in trying this on the Prerelease?
Undefined function 'isnan' for input arguments of type
Error in u3d_pre_quivergroup (line 63)
sh(isnan(sh) ) = ;
Error in fig2u3d (line 198)
[quiver_vertices, quiver_edges, quiver_colors] = u3d_pre_quivergroup(ax);
Very nice program, thanks a lot!
Sadly the opacity of every pixel in a surface plot is not copied to the pdf. :(
@Francesco: I changed vol3d to draw the 3d-array without texture mapping. But that didn't fix the problem because the opacity is not copied.