Commit 496bc87cf13aeb66dcdd22377edb5c22c96ff699
1 parent
372800cf
fixed compile error
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/core/plot.cpp
| @@ -353,7 +353,7 @@ bool PlotDetection(const QStringList &files, const File &destination, bool show) | @@ -353,7 +353,7 @@ bool PlotDetection(const QStringList &files, const File &destination, bool show) | ||
| 353 | QString(", xlab=\"Percentage of False Accepts Per Image\", ylab=\"True Accept Rate\") + theme_minimal()") + | 353 | QString(", xlab=\"Percentage of False Accepts Per Image\", ylab=\"True Accept Rate\") + theme_minimal()") + |
| 354 | (p.major.size > 1 ? getScale("colour", p.major.header, p.major.size) : QString()) + | 354 | (p.major.size > 1 ? getScale("colour", p.major.header, p.major.size) : QString()) + |
| 355 | (p.minor.size > 1 ? QString(" + scale_linetype_discrete(\"%1\")").arg(p.minor.header) : QString()) + | 355 | (p.minor.size > 1 ? QString(" + scale_linetype_discrete(\"%1\")").arg(p.minor.header) : QString()) + |
| 356 | - QString(" + scale_x_log10(labels=percent) + scale_y_continuous(labels=percent, limits=c(0,1)) + annotation_logticks(sides=\"b\") + ggtitle(\"%1\") + theme(legend.position=\"bottom\"")\n\n").arg(type))); | 356 | + QString(" + scale_x_log10(labels=percent) + scale_y_continuous(labels=percent, limits=c(0,1)) + annotation_logticks(sides=\"b\") + ggtitle(\"%1\") + theme(legend.position=\"bottom\")\n\n").arg(type))); |
| 357 | 357 | ||
| 358 | foreach (const QString &type, QStringList() << "Discrete" << "Continuous") | 358 | foreach (const QString &type, QStringList() << "Discrete" << "Continuous") |
| 359 | p.file.write(qPrintable(QString("qplot(X, Y, data=%1PR%2").arg(type, (p.major.smooth || p.minor.smooth) ? ", geom=\"smooth\", method=loess, level=0.99" : QString(", geom=\"%1\"").arg(plotType)) + | 359 | p.file.write(qPrintable(QString("qplot(X, Y, data=%1PR%2").arg(type, (p.major.smooth || p.minor.smooth) ? ", geom=\"smooth\", method=loess, level=0.99" : QString(", geom=\"%1\"").arg(plotType)) + |