% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{plot.taxodist_ord}
\alias{plot.taxodist_ord}
\title{Plot method for taxodist_ord objects}
\usage{
\method{plot}{taxodist_ord}(
  x,
  main = "Taxonomic Ordination (PCoA)",
  xlab = "PC1",
  ylab = "PC2",
  labels = if (!is.null(x$points)) rownames(x$points) else NULL,
  ...
)
}
\arguments{
\item{x}{A \code{taxodist_ord} object from \code{\link[=taxo_ordinate]{taxo_ordinate()}}.}

\item{main}{Plot title. Default: \code{"Taxonomic Ordination (PCoA)"}.}

\item{xlab}{X-axis label. Default: \code{"PC1"}.}

\item{ylab}{Y-axis label. Default: \code{"PC2"}.}

\item{labels}{Character vector of labels. Default: rownames of points.}

\item{...}{Additional arguments passed to \code{\link[graphics:text]{graphics::text()}}.}
}
\value{
Invisibly returns \code{x}. Called for side effects (plotting).
}
\description{
Plots the PCoA ordination produced by \code{\link[=taxo_ordinate]{taxo_ordinate()}}.
}
\examples{
\donttest{
taxa <- c("Tyrannosaurus", "Velociraptor", "Triceratops", "Brachiosaurus")
ord <- taxo_ordinate(taxa)
plot(ord)
}
}
