matlab2tikz
matlab2tikz copied to clipboard
Plot type FunctionLine not supported
When plotting function handles with functions such as fplot(...), matlab2tikz does not recognize the type of plots. In particular, in the function handleAllChildren, switching on the Type of child results in otherwise returning, thus an error. I tried to add the following two lines right after "case 'line'" but it doesn't work:
case 'functionline' [m2t, str] = drawLine(m2t, child);
Hope to see support for this type of plots in the future!
Correction: adding those two lines actually seems to work! You could add it officially in the next release!