diff --git a/pub/CHANGELOG b/pub/CHANGELOG index d42362e20b47434287a95c5844e1ac8277758459..9c09103aad9fcdf0c03d82ba594c88f3eb924238 100644 --- a/pub/CHANGELOG +++ b/pub/CHANGELOG @@ -1,3 +1,8 @@ +Release 2.4.0e + +- Bug fixes: + - plot2D did not clear previous plot + Release 2.4.0d (sic) of 08aug17: - Improved plot symbols, now uniform in Gnuplot and PS/acol7 diff --git a/pub/plot/gnuplotter.cpp b/pub/plot/gnuplotter.cpp index 762fe6e3631f315b0d79f7f136ac9d7d88b8d0f7..cbc39f40c8b428aeaf5a29c297b228ecc8a219d7 100644 --- a/pub/plot/gnuplotter.cpp +++ b/pub/plot/gnuplotter.cpp @@ -105,10 +105,9 @@ void CGnuPlotter::add_spec( gp_fnames += str(format(" with lines lt 1 lc rgb \"#%6x\"") % ccolor[(style_no-1) % ccolor.size()]); else { - gp_fnames += str(format(" with points pt %i lc rgb \"#%6x\" lw 2") + gp_fnames += str(format(" with %s pt %i lc rgb \"#%6x\" lw 2") + % (plot_errorbars && dyp.size() ? "yerrorlines" : "points") % style_no % pcolor[(style_no-1) % pcolor.size()]); - if (plot_errorbars && dyp.size()) - gp_fnames += " with errorbars"; } FILE* gp_fd; if (!(gp_fd = fopen(gp_fnam.c_str(), "w")))