From 568379f51a772a0662707fde1b6ff94e146598f1 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 12 Aug 2013 11:16:03 -0400 Subject: [PATCH] first draft of plotLandmarking --- openbr/core/plot.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbr/core/plot.cpp b/openbr/core/plot.cpp index 9fe74a3..67d1224 100644 --- a/openbr/core/plot.cpp +++ b/openbr/core/plot.cpp @@ -351,10 +351,12 @@ bool PlotLandmarking(const QStringList &files, const File &destination, bool sho p.file.write("# Split data into individual plots\n" "plot_index = which(names(data)==\"Plot\")\n" - "Box <- data[grep(\"DiscreteROC\",data$Plot),-c(1)]\n" + "Box <- data[grep(\"Box\",data$Plot),-c(1)]\n" "rm(data)\n" "\n"); + p.file.write("ggplot(Box, aes(factor(X),Y)) + geom_boxplot() + geom_jitter(size=1.33,alpha=0.66) + scale_x_discrete(\"Landmark\") + scale_y_log10(\"Normalized Error\", breaks=c(0.01,0.1,1,10)) + annotation_logticks(sides=\"l\")\n\n"); + return p.finalize(show); } -- libgit2 0.21.4