Watch this Author's files
The mirrored axis problem is a general matlab bug. Try setting opengl to software.
Hey mate. Thanks for submitting such a useful function. :) I think I've found a small bug. Minor tick axes don't appear in the SVG if you are using log scale axes...They do appear in Matlab and if I export to PDF and then import into Inkscape.