diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index f280cdee8..d53f7b436 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -903,9 +903,14 @@ plotit(wordlist *wl, char *hcopy, char *devname) int firstscalelength = vecs->v_scale->v_length; for (d = vecs; d; d = d->v_link2) if (firstscalelength != d->v_length) { - fprintf(cp_err, "\nError: length of vector %s and its scale differ.\n", d->v_name); - fprintf(cp_err, " cannot plot!\n"); - goto quit; + fprintf(cp_err, "\nWarning: length of vector %s and its scale differ.\n", d->v_name); + /* Do not plot when strict_errorhandling is set */ + if (ft_stricterror) { + fprintf(cp_err, " Cannot plot!\n"); + goto quit; + } + else + fprintf(cp_err, " Check the plot data!\n"); } }