Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeaudette committed Jun 21, 2023
1 parent 7a61598 commit 8c87eb3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 587 deletions.
17 changes: 17 additions & 0 deletions misc/label-placement/decent.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,20 @@ for(i in seq(.min, .max, length.out = .npanel^2)) {
}

dev.off()


x <- z$x

## effect of q
for(i in seq(.min, .max, length.out = .npanel^2)) {

.cols <- colorRampPalette(cols)(length(x))

z <- fixOverlap(x, thresh = 2, q = i, chargeDecay = 0, QkA_GrowthRate = 0, method = 'E', maxIter = 100, trace = TRUE)
.n <- nrow(z$states)

matplot(rbind(x, z$states), type = 'l', lty = 1, las = 1, axes = FALSE, col = .cols, lwd = 1, log = 'x')

}


Loading

0 comments on commit 8c87eb3

Please sign in to comment.