Add negative ranges
This commit is contained in:
parent
4395718e0c
commit
07843c00d3
@ -363,7 +363,8 @@ end
|
|||||||
xmin, xmax = try
|
xmin, xmax = try
|
||||||
axis_limits(plt[1][:xaxis])
|
axis_limits(plt[1][:xaxis])
|
||||||
catch
|
catch
|
||||||
tryrange(f, [-5,-1,0,0.01]), tryrange(f, [5,1,0.99])
|
xm = tryrange(f, [-5,-1,0,0.01])
|
||||||
|
xm, tryrange(f, filter(x->x>xm, [5,1,0.99, 0, -0.01]))
|
||||||
end
|
end
|
||||||
|
|
||||||
f, xmin, xmax
|
f, xmin, xmax
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user