MatthewPeterKelly / OptimTraj

A trajectory optimization library for Matlab
MIT License
598 stars 207 forks source link

Replaced getDefaultPlotColors with get(gca,'colororder') #57

Closed ShaneRozenLevy closed 1 year ago

ShaneRozenLevy commented 1 year ago

On master (MATLAB R2020a) demo/fiveLinkBiped/RESULTS.m fails on line 258 due to

Unrecognized function or variable 'getDefaultPlotColors'.

Error in RESULTS (line 258)
Color = getDefaultPlotColors();

Fix is from https://www.mathworks.com/matlabcentral/answers/26249-default-figure-color-order#answer_152313

and resulting figure looks like: image