% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/maxent_plots.R
\name{maxent_plot_response_curves}
\alias{maxent_plot_response_curves}
\title{Write Response Curve PNGs for All Variables}
\usage{
maxent_plot_response_curves(
  model,
  env_grids,
  feature_names,
  output_dir,
  species,
  var_indices = NULL,
  n_steps = 100L,
  thumbnail = TRUE,
  write_dat = FALSE
)
}
\arguments{
\item{model}{External pointer to a trained FeaturedSpace object.}

\item{env_grids}{List of external pointers to Grid<float> objects.}

\item{feature_names}{Character vector of environment variable names
(one entry per element of \code{env_grids}).}

\item{output_dir}{Character: directory under which a \code{plots/}
sub-directory will be created.}

\item{species}{Character: species name (used in file names).}

\item{var_indices}{Integer vector of 0-based variable indices to plot.
Defaults to all variables.}

\item{n_steps}{Integer: number of steps in each curve (default 100).}

\item{thumbnail}{Logical: also write a 210 × 140 pixel thumbnail PNG
(default \code{TRUE}).}

\item{write_dat}{Logical: also write a tab-delimited \code{.dat} file
of the curve data (default \code{FALSE}).}
}
\value{
Invisibly returns a named list of file paths written.
}
\description{
Generates response curve plots for each environmental variable and saves
them as PNG files, replicating \code{density/ResponsePlot.java::makeplot()}.
A full-size PNG and an optional thumbnail are written for every variable.
}
\examples{
\donttest{
maxent_plot_response_curves(
  model, list(g1, g2), c("bio1", "bio12"),
  output_dir = tempdir(), species = "Sp1")
}
}
