You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
translateMarkerSize is missing cases for some (newer?) markers in Matlab, particularly, horizontal and vertical lines. Trying to use matlab2tikz on a plot that uses these marker types leads to an error e.g.,
Error using matlab2tikz>translateMarkerSize
Unknown matlabMarker '|'.
Error in matlab2tikz>getMarkerOptions (line 2087)
translateMarkerSize(m2t, marker, markerSize);
Error in matlab2tikz>drawLine (line 1786)
[m2t, markerOptions] = getMarkerOptions(m2t, h);
Error in matlab2tikz>drawAxes (line 886)
[m2t, childrenEnvs] = handleAllChildren(m2t, handle);
Error in matlab2tikz>saveToFile (line 485)
m2t = drawAxes(m2t, relevantAxesHandle);
Error in matlab2tikz (line 337)
m2t = saveToFile(m2t, fid, fileWasOpen);
It looks like they need to have cases added to handle them in translateMarker and translateMarkerSize (and possibly elsewhere?). Or if they're not Tikz markers and can't be handled, the user should probably be told that.
The text was updated successfully, but these errors were encountered:
translateMarkerSize is missing cases for some (newer?) markers in Matlab, particularly, horizontal and vertical lines. Trying to use matlab2tikz on a plot that uses these marker types leads to an error e.g.,
Error using matlab2tikz>translateMarkerSize
Unknown matlabMarker '|'.
Error in matlab2tikz>getMarkerOptions (line 2087)
translateMarkerSize(m2t, marker, markerSize);
Error in matlab2tikz>drawLine (line 1786)
[m2t, markerOptions] = getMarkerOptions(m2t, h);
Error in matlab2tikz>handleObject (line 3142)
[m2t, str] = feval(actualHandler, m2t, h, custom);
Error in matlab2tikz>handleAllChildren (line 683)
[m2t, str] = handleObject(m2t, child, @Drawline);
Error in matlab2tikz>drawAxes (line 886)
[m2t, childrenEnvs] = handleAllChildren(m2t, handle);
Error in matlab2tikz>saveToFile (line 485)
m2t = drawAxes(m2t, relevantAxesHandle);
Error in matlab2tikz (line 337)
m2t = saveToFile(m2t, fid, fileWasOpen);
It looks like they need to have cases added to handle them in translateMarker and translateMarkerSize (and possibly elsewhere?). Or if they're not Tikz markers and can't be handled, the user should probably be told that.
The text was updated successfully, but these errors were encountered: