Merge pull request #130 from joshday/dev

Add plot!(f::Function) method
This commit is contained in:
Tom Breloff 2016-02-03 13:30:47 -05:00
commit 1562c96d4c

View File

@ -413,7 +413,7 @@ function createKWargsList(plt::PlottingObject, x::AVec, y::AVec, surf::Surface;
end
function createKWargsList(plt::PlottingObject, f::FuncOrFuncs; kw...)
error("Can't pass a Function or Vector{Function} for y without also passing x")
createKWargsList(plt, f, xmin(plt), xmax(plt); kw...)
end
# list of functions