From 67b3ecb90865bc87b95285981ee907b7d18f3918 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Mon, 21 May 2018 11:15:16 +0800 Subject: [PATCH 1/2] update manual page --- man/plot.Intervals.Rd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man/plot.Intervals.Rd b/man/plot.Intervals.Rd index 73b6c6e..62e59e1 100644 --- a/man/plot.Intervals.Rd +++ b/man/plot.Intervals.Rd @@ -27,6 +27,7 @@ use_points = TRUE, use_names = TRUE, names_cex = 1, + text_col = NULL, ... ) @@ -84,6 +85,10 @@ TRUE}. } + \item{text_col}{ + Color of printed labels. Only relevant if \code{use_names = TRUE}. + } + \item{...}{Other arguments for \code{\link{plot.default}}.} } @@ -149,4 +154,4 @@ x <- Intervals( cbind( left, right ) ) plot(x, use_points=FALSE) plot(x, use_points=FALSE, xlim = c(0, 500)) -} \ No newline at end of file +} From cda06837d01e83473f1c9fa173c206e1a1dddcf1 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Wed, 10 May 2023 13:20:28 -0700 Subject: [PATCH 2/2] Move include after --- src/Endpoint.h | 4 +++- src/plot_overlap.cpp | 6 ++++-- src/reduce.cpp | 6 ++++-- src/which_nearest.cpp | 6 ++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/Endpoint.h b/src/Endpoint.h index 57c679b..09dee5a 100644 --- a/src/Endpoint.h +++ b/src/Endpoint.h @@ -1,9 +1,11 @@ #ifndef ENDPOINT_H #define ENDPOINT_H + +#include + #include #include -#include diff --git a/src/plot_overlap.cpp b/src/plot_overlap.cpp index 7ae66ae..054f7ab 100644 --- a/src/plot_overlap.cpp +++ b/src/plot_overlap.cpp @@ -1,10 +1,12 @@ -#include -#include #include "Endpoint.h" + #include #include #include +#include +#include + /* What we require to prevent segfaults is the same as for interval_overlap.cpp. See details there. Everything should be checked by the diff --git a/src/reduce.cpp b/src/reduce.cpp index 28c14af..eece80c 100644 --- a/src/reduce.cpp +++ b/src/reduce.cpp @@ -1,9 +1,11 @@ -#include -#include #include "Endpoint.h" + #include #include +#include +#include + /* What we require to prevent segfaults is the same as for interval_overlap.cpp. See details there. Everything should be checked by the diff --git a/src/which_nearest.cpp b/src/which_nearest.cpp index a45e86f..34974fb 100644 --- a/src/which_nearest.cpp +++ b/src/which_nearest.cpp @@ -1,11 +1,13 @@ -#include -#include #include "Endpoint.h" + #include #include #include #include +#include +#include + /* #### What we require to prevent segfaults: