fn interp_plot(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Create a scatter plot, line plot, or combined plot.
This is R’s main plot() function. It creates a new PlotState,
adds Points/Lines/Both based on the type parameter, then shows
the plot window immediately.
@param x numeric vector of x-coordinates (or sole y if y is missing) @param y numeric vector of y-coordinates (optional) @param type character: “p” (points), “l” (lines), “b” (both), “n” (none) @param main plot title @param xlab x-axis label @param ylab y-axis label @param col color specification @param pch point character (0-25) @param cex character expansion factor @param lwd line width @param xlim numeric vector c(lo, hi) for x-axis limits @param ylim numeric vector c(lo, hi) for y-axis limits @return NULL (invisibly)