From 1421cd8cb851e7d01c6688f15e67d6e16049f8ba Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 5 Sep 2016 19:12:25 +0000 Subject: [PATCH] don't report step in time series --- Graphics/drawScales.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Graphics/drawScales.cpp b/Graphics/drawScales.cpp index ccb25a380e..898f930ea5 100644 --- a/Graphics/drawScales.cpp +++ b/Graphics/drawScales.cpp @@ -184,11 +184,7 @@ static void drawScaleLabel(drawContext *ctx, PView *p, double xmin, double ymin, } switch(choice){ case 1: // time series - if(n == 1) - sprintf(label, "%s - time %s", data->getName().c_str(), time); - else - sprintf(label, "%s - time %s (step %d in [0,%d])", data->getName().c_str(), - time, opt->timeStep, data->getNumTimeSteps() - 1); + sprintf(label, "%s - time %s", data->getName().c_str(), time); break; case 2: // harmonic data if(n <= 2) -- GitLab