widen axis limits
This commit is contained in:
parent
e95ddc3ef8
commit
fa8d437836
@ -853,4 +853,4 @@ end
|
|||||||
reverse_if(x, cond) = cond ? reverse(x) : x
|
reverse_if(x, cond) = cond ? reverse(x) : x
|
||||||
axis_tuple(x, y, letter) = reverse_if((x, y), letter === :y)
|
axis_tuple(x, y, letter) = reverse_if((x, y), letter === :y)
|
||||||
|
|
||||||
axes_shift(t, i) = i % 3 == 0 ? t : i % 3 == 1 ? (t[3], t[1], t[2]) : (t[2], t[3], t[1])
|
axes_shift(t, i) = i % 3 == 0 ? t : i % 3 == 1 ? (t[3], t[1], t[2]) : (t[2], t[3], t[1])
|
||||||
|
|||||||
@ -1520,8 +1520,8 @@ end
|
|||||||
yflip := true
|
yflip := true
|
||||||
aspect_ratio := 1
|
aspect_ratio := 1
|
||||||
rs, cs, zs = Plots.findnz(z.surf)
|
rs, cs, zs = Plots.findnz(z.surf)
|
||||||
xlims := ignorenan_extrema(cs)
|
xlims := widen(ignorenan_extrema(cs)..., get(plotattributes, :xscale, :identity))
|
||||||
ylims := ignorenan_extrema(rs)
|
ylims := widen(ignorenan_extrema(rs)..., get(plotattributes, :yscale, :identity))
|
||||||
markershape --> :circle
|
markershape --> :circle
|
||||||
markersize --> 1
|
markersize --> 1
|
||||||
markerstrokewidth := 0
|
markerstrokewidth := 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user