use adapted_grid from PlotUtilities for single functions
This commit is contained in:
parent
a88d78a2e9
commit
ec31898f25
@ -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
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user