use adapted_grid from PlotUtilities for single functions

This commit is contained in:
Kristoffer Carlsson 2016-12-25 00:38:58 +01:00
parent a88d78a2e9
commit ec31898f25

View File

@ -343,8 +343,9 @@ end
@recipe function f(f::FuncOrFuncs) @recipe function f(f::FuncOrFuncs)
plt = d[:plot_object] plt = d[:plot_object]
xmin,xmax = axis_limits(plt[1][:xaxis]) xmin, xmax = axis_limits(plt[1][:xaxis])
f, xmin, xmax xs = adapted_grid(f, (xmin, xmax))
xs, f
end end
# #