Commit 568379f51a772a0662707fde1b6ff94e146598f1

Authored by Josh Klontz
1 parent 8afe0295

first draft of plotLandmarking

Showing 1 changed file with 3 additions and 1 deletions
openbr/core/plot.cpp
@@ -351,10 +351,12 @@ bool PlotLandmarking(const QStringList &files, const File &destination, bool sho @@ -351,10 +351,12 @@ bool PlotLandmarking(const QStringList &files, const File &destination, bool sho
351 351
352 p.file.write("# Split data into individual plots\n" 352 p.file.write("# Split data into individual plots\n"
353 "plot_index = which(names(data)==\"Plot\")\n" 353 "plot_index = which(names(data)==\"Plot\")\n"
354 - "Box <- data[grep(\"DiscreteROC\",data$Plot),-c(1)]\n" 354 + "Box <- data[grep(\"Box\",data$Plot),-c(1)]\n"
355 "rm(data)\n" 355 "rm(data)\n"
356 "\n"); 356 "\n");
357 357
  358 + 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");
  359 +
358 return p.finalize(show); 360 return p.finalize(show);
359 } 361 }
360 362