Cody

Solution 1786619

Submitted on 13 Apr 2019 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
str = 'AnimatedlineColor'; assert(isequal(factory(str),[0 0 0]))

2   Pass
str = 'AreaHandleVisibility'; assert(isequal(factory(str),'on'))

3   Pass
str = 'AxesBox'; assert(isequal(factory(str),'off'))

4   Pass
str = 'AxesUnits'; assert(isequal(factory(str),'normalized'))

5   Pass
str = 'BarLineWidth'; assert(isequal(factory(str),0.5))

6   Pass
str = 'ColorbarFontName'; assert(isequal(factory(str),'Helvetica'))

7   Pass
str = 'DoubleendarrowshapeHead1Length'; assert(isequal(factory(str),10))

8   Pass
str = 'EllipseshapePosition'; assert(isequal(factory(str),[0.3 0.3 0.1 0.1]))

9   Pass
str = 'FigureNextPlot'; assert(isequal(factory(str),'add'))

10   Pass
str = 'GraphplotPickableParts'; assert(isequal(factory(str),'visible'))

11   Pass
str = 'HistogramFaceAlpha'; assert(isequal(factory(str),0.6))

12   Pass
str = 'ImageCreateFcn'; assert(isequal(factory(str),''))

13   Pass
str = 'LineMarkerSize'; assert(isequal(factory(str),6))

14   Pass
str = 'PatchLineStyle'; assert(isequal(factory(str),'-'))

15   Pass
str = 'QuiverAutoScaleFactor'; assert(isequal(factory(str),0.9))

16   Pass
str = 'RectanglePosition'; assert(isequal(factory(str),[0 0 1 1]))

17   Pass
str = 'ScatterMarker'; assert(isequal(factory(str),'o'))

18   Pass
str = 'TextInterpreter'; assert(isequal(factory(str),'tex'))

19   Pass
str = 'UicontrolBackgroundColor'; assert(isequal(factory(str),[0.9400 0.9400 0.9400]))

Suggested Problems

More from this Author46