line#
Create a line graph
-
template<typename TensorType>
void matx::viz::line(const TensorType &ten, const std::string &title, const std::string &xlabel, const std::string &ylabel, const std::string &out_fname = "")# Create a line plot from a tensor view
Generates either an HTML page or launches a browser displaying a line plot. The line order uses columns to generate each line of data, and rows are separate lines.
- Template Parameters:
T – Type of tensor
RANK – Rank of tensor
- Parameters:
ten – Input tensor
title – Title of plot
xlabel – X axis label
ylabel – Y axis label
out_fname – Output file name. If blank, a new window will open with the plot in a browser window