Skip to content

Commit

Permalink
adjust title position
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Dec 20, 2023
1 parent 77a28c2 commit 28767b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_volume-slices.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ plot_slices <- function(
adjust_plt(reset = TRUE)
graphics::plot.new()
if(title_position == "top") {
graphics::mtext(side = 1, line = 0, text = main[[ii]], las = 0)
graphics::mtext(side = 1, line = -1, text = main[[ii]], las = 0)
} else {
graphics::mtext(side = 4, line = -1.5, text = main[[ii]], las = 0)
}
Expand Down

0 comments on commit 28767b2

Please sign in to comment.