fplot() runs Documentation Example with errors
Show older comments
The following code taken from the MATLAB documentation for the fplot() function results in an error when executed on R2016b on Win7 (both 64 bit):
>> fplot(@(x) sin(x))
Error using box/set.length (line 19)
box.length must be a number.
Error in box (line 11)
box_obj.length = length;
Error in fplot (line 156)
box(cax,'on');
end
The plot seems to be ok but the error is worrisome and I've not found any documentation of bugs or comments related to this in MATLAB central. Can anyone else verify or suggest a solution?
Accepted Answer
More Answers (0)
Categories
Find more on Contour Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!