From d13bb6ba0546916a191d37419b4e34cbea7342dc Mon Sep 17 00:00:00 2001 From: monty Date: Mon, 4 Mar 2024 10:21:17 -0700 Subject: [PATCH] filename_ext fix --- src/MadsPlot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MadsPlot.jl b/src/MadsPlot.jl index df689b29..b49a5200 100644 --- a/src/MadsPlot.jl +++ b/src/MadsPlot.jl @@ -458,7 +458,7 @@ function scatterplotsamples(madsdata::AbstractDict, samples::AbstractMatrix, fil Gadfly.Theme(major_label_font_size=major_label_font_size, minor_label_font_size=minor_label_font_size) ) if separate_files - fn = filename_root * "_histogram_" * "$(lpad(i, nz, '0'))_" * plotlabels[i] * "." * filename_ext + fn = filename_root * "_histogram_" * "$(lpad(i, nz, '0'))_" * plotlabels[i] * filename_ext plotfileformat(p, fn, hsize, vsize; format=format, dpi=dpi) else cs[j, i] = Gadfly.render(p) @@ -469,7 +469,7 @@ function scatterplotsamples(madsdata::AbstractDict, samples::AbstractMatrix, fil Gadfly.Theme(major_label_font_size=major_label_font_size, minor_label_font_size=minor_label_font_size, point_size=pointsize, highlight_width=highlight_width) ) if separate_files - fn = filename_root * "_scatter_" * "$(lpad(i, nz, '0'))_" * "$(lpad(j, nz, '0'))_" * plotlabels[i] * "_" * plotlabels[j] * "." * filename_ext + fn = filename_root * "_scatter_" * "$(lpad(i, nz, '0'))_" * "$(lpad(j, nz, '0'))_" * plotlabels[i] * "_" * plotlabels[j] * filename_ext plotfileformat(p, fn, hsize, vsize; format=format, dpi=dpi) else cs[j, i] = Gadfly.render(p)