Skip to content

Commit

Permalink
fix for plotting matrices of particles
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jul 20, 2023
1 parent cee13a5 commit cb71a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ ribbonplot
seriesalpha --> max(1/sqrt(nc), 0.1)
chosen = randperm(np)[1:nc]
M[chosen, :]'
# to1series(M[chosen, :]') # We actually want different columns to look different
to1series(M[chosen, :]') # We want different columns to look different, but M here represents a single column (Matrix(yc)), so each column in M correspond to the same yc
end
end
end
Expand Down

0 comments on commit cb71a84

Please sign in to comment.