% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_mov.cor.R
\name{plot.summary_mov_cor_dm}
\alias{plot.summary_mov_cor_dm}
\title{Plot method for summaries of moving dendrometer-climate correlation}
\usage{
\method{plot}{summary_mov_cor_dm}(
  x,
  y = NULL,
  type = c("peak_corr", "prop_significant", "peak_time"),
  x_axis = c("time", "doy"),
  low_col = "red",
  mid_col = "white",
  high_col = "blue",
  show_window_label = TRUE,
  ...
)
}
\arguments{
\item{x}{Object of class \code{"summary_mov_cor_dm"}.}

\item{y}{Unused.}

\item{type}{Plot type. One of \code{"peak_corr"}, \code{"prop_significant"},
or \code{"peak_time"}.}

\item{x_axis}{X-axis style for \code{type = "peak_time"}. One of
\code{"time"} or \code{"doy"}.}

\item{low_col}{Colour for negative values.}

\item{mid_col}{Colour for zero.}

\item{high_col}{Colour for positive values.}

\item{show_window_label}{Logical. If \code{TRUE}, climate settings are shown
as labels in \code{type = "peak_corr"}.}

\item{...}{Unused.}
}
\value{
A \code{ggplot2} object, returned invisibly.
}
\description{
S3 plotting method for objects returned by \code{summary.mov_cor_dm()}.
}
