Skip to content

Commit

Permalink
Merge pull request #20 from firasalchalabi/fix-seisdifference
Browse files Browse the repository at this point in the history
fixed a minor issue with seisDifference where the axes were unaligned
  • Loading branch information
AtilaSaraiva authored May 7, 2024
2 parents 996f6b1 + e65f569 commit f713f54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/seisDifference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ function seisDifference(d1, d2;
plots = []

for (i, ax) in enumerate(axes)
xlims!(ax, low=ox-dx, high=ox+size(d1,2)*dx)
low = (style == "wiggles" || style == "wiggle") ? ox-dx : ox
xlims!(ax, low=low, high=ox+size(d1,2)*dx)
push!(plots, plotfunc(ax, data[i], ox=ox, dx=dx, oy=oy, dy=dy, gx=gx, pclip=pclip,
vmin=vmin, vmax=vmax,
wiggle_line_color=wiggle_line_color,
Expand Down

0 comments on commit f713f54

Please sign in to comment.