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)
|
||||
plt = d[:plot_object]
|
||||
xmin,xmax = axis_limits(plt[1][:xaxis])
|
||||
f, xmin, xmax
|
||||
xmin, xmax = axis_limits(plt[1][:xaxis])
|
||||
xs = adapted_grid(f, (xmin, xmax))
|
||||
xs, f
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user