Hi, this seems to be very useful. However, I get an error when there're scattered asterisk in the figure:
Undefined function or variable "linex".
Error in plot2svg>axchild2svg (line 1627)
case '*',group=group+1;patch2svg(fid,group,axpos,xmarker'*ones(1,11)+ones(length(linex),1)*[-1 1 NaN 0 0 NaN -0.7
0.7 NaN -0.7 0.7]*markersize,ymarker'*ones(1,11)+ones(length(
Solve my problem puzzled me for a long time, because I can't print *.jpeg files as the figures, and I used to copy *.fig files to another Windows computer to finish printing wanted picutres.
When I get this function, Matlab under Linux is becoming more amazing!
Thank you very much!
This works really well.
It's a mystery to me, though, why you scale circle-markers to 0.75 of MarkerSize. It makes plots with different marker-types less coherent.
Easily 'fix'able, though: In plot2svg.m, L.1409, replace 0.75 with 1.
06 Mar 2014
Exports figures nicely to a number of vector & bitmap formats.