Commit d9a2447c516b00484fedbf3f2265d7074fb58d34

Authored by Josh Klontz
1 parent 2c95c08d

bar chart y axis uses percent

Showing 1 changed file with 1 additions and 1 deletions
sdk/core/plot.cpp
@@ -471,7 +471,7 @@ bool br::Plot(const QStringList &files, const QString &destination, bool show) @@ -471,7 +471,7 @@ bool br::Plot(const QStringList &files, const QString &destination, bool show)
471 QString(", ylab=\"True Accept Rate%1\") + theme_minimal()").arg(p.minorSize > 1 ? " / " + p.minorHeader : QString()) + 471 QString(", ylab=\"True Accept Rate%1\") + theme_minimal()").arg(p.minorSize > 1 ? " / " + p.minorHeader : QString()) +
472 (p.majorSize > 1 ? getScale("fill", p.majorHeader, p.majorSize) : QString()) + 472 (p.majorSize > 1 ? getScale("fill", p.majorHeader, p.majorSize) : QString()) +
473 (p.minorSize > 1 ? QString(" + facet_grid(%2 ~ X)").arg(p.minorHeader) : QString(" + facet_wrap(~ X)")) + 473 (p.minorSize > 1 ? QString(" + facet_grid(%2 ~ X)").arg(p.minorHeader) : QString(" + facet_wrap(~ X)")) +
474 - QString(" + theme(legend.position=\"none\", axis.text.x=element_text(angle=-90, hjust=0)) + geom_text(data=BC, aes(label=Y, y=0.05))") + 474 + QString(" + scale_y_continuous(labels=percent) + theme(legend.position=\"none\", axis.text.x=element_text(angle=-90, hjust=0)) + geom_text(data=BC, aes(label=Y, y=0.05))") +
475 QString("\nggsave(\"%1\")\n").arg(p.subfile("BC")))); 475 QString("\nggsave(\"%1\")\n").arg(p.subfile("BC"))));
476 476
477 p.file.write(qPrintable(QString("qplot(X, Y, data=ERR, geom=\"line\", linetype=Error") + 477 p.file.write(qPrintable(QString("qplot(X, Y, data=ERR, geom=\"line\", linetype=Error") +