Wrong result for "Fill" function (Matlab R2014b and later)
1 view (last 30 days)
Show older comments
Run this code on Matlab R2014b and later (HG2). One of the bars is not filled. This works properly on older versions of Matlab. How should I fix this?
x = [0,-2891.82,-2669.33,0,-2754.89,-2504.30,0]; y = [0,-2426.52,-2669.33,0,-2754.89,-2984.51,0]; figure();fill(x,y,'y')
3 Comments
Answers (0)
See Also
Categories
Find more on Performance and Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!