From 22dac5e7c9fc67e4b0fc50e49e81cab54a81a343 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 12 Aug 2013 15:59:43 -0400 Subject: [PATCH] elaborated on plot documentation --- openbr/openbr.h | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/openbr/openbr.h b/openbr/openbr.h index 7f09763..c999b86 100644 --- a/openbr/openbr.h +++ b/openbr/openbr.h @@ -265,6 +265,12 @@ BR_EXPORT const char *br_objects(const char *abstractions = ".*", const char *im * - destination.R which is the auto-generated R script used to render the figures. * - destination.pdf which has all of the figures in one file multi-page file. * + * OpenBR uses file and folder names to automatically determine the plot legend. + * For example, let's consider the case where three algorithms (A, B, & C) were each evaluated on two datasets (Y & Z). + * The suggested way to plot these experiments on the same graph is to create a folder named Algorithm_Dataset that contains the six .csv files produced by \ref br_eval: A_Y.csv, A_Z.csv, B_Y.csv, B_Z.csv, C_Y.csv, & C_Z.csv. + * The '_' character plays a special role in determining the legend title(s) and value(s). + * In this case, A, B, & C will be identified as different values of type Algorithm, and each will be assigned its own color; Y & Z will be identified as different values of type Dataset, and each will be assigned its own line style. + * * \param num_files Number of .csv files. * \param files .csv files created using \ref br_eval. * \param destination Basename for the resulting figures. -- libgit2 0.21.4