Cody

Solution 1911700

Submitted on 25 Aug 2019
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   Fail
x = 1:100; y = 1:100; h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

Unrecognized method, property, or field 'Children' for class 'matlab.graphics.GraphicsPlaceholder'. Error in Test1 (line 5) assert(isequal(h.Children.Children.XData,x))

9tfgaaaabjru5erkjggg=="}]
2   Fail
x = -2*pi:pi/8:2*pi; y = sin(x); h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

Unrecognized method, property, or field 'Children' for class 'matlab.graphics.GraphicsPlaceholder'. Error in Test2 (line 5) assert(isequal(h.Children.Children.XData,x))

Nvjamd4wgoaafydaidvaabgnqaawa0awgoaalaaaacsbgaaqweawgoaafydaidvaabgnqaawa0awgoaalaaaacsbgaaqweawgoaafydaidvaabgnqaawa0aafydalaaaacsbgaaqwea8hv4p7nn1zltfdxxaaaaaelftksuqmcc"}]
3   Fail
theta = linspace(0,2*pi); x = 2*cos(theta) + 4; y = 2*sin(theta) + 3; h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

Unrecognized method, property, or field 'Children' for class 'matlab.graphics.GraphicsPlaceholder'. Error in Test3 (line 6) assert(isequal(h.Children.Children.XData,x))

Nnnxn+t6oaapfqnqbudqbudqbudqbudqbvawbvawbvawbvawbva0dvaedvaedvaedvafa1afa1afa1afa1afa1afqnafqnafqnafqnafqnafudafudafudghb8p+5o7betgmwuaaaaaelftksuqmcc"}]