From 99910b0e129a865f9494a434cdb38dd75854b980 Mon Sep 17 00:00:00 2001 From: monty Date: Wed, 7 Aug 2024 09:13:42 -0600 Subject: [PATCH] gadfly keywords --- src/MadsSensitivityAnalysis.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MadsSensitivityAnalysis.jl b/src/MadsSensitivityAnalysis.jl index c37affd7..711bdafa 100644 --- a/src/MadsSensitivityAnalysis.jl +++ b/src/MadsSensitivityAnalysis.jl @@ -249,7 +249,7 @@ function localsa(madsdata::AbstractDict; sinspace::Bool=true, keyword::AbstractS filename = "$(rootname)-eigenmatrix" * ext plotfileformat(eigenmat, filename, 4Gadfly.inch + 0.25Gadfly.inch * nP, 4Gadfly.inch + 0.25Gadfly.inch * nP; format=format, dpi=imagedpi) madsinfo("Eigen matrix plot saved in $filename") - eigenval = Gadfly.plot(; x=eachindex(sortedeigenv), y=sortedeigenv, Gadfly.Scale.x_discrete, Gadfly.Scale.y_log10, Gadfly.Geom.line(), Gadfly.Theme(; line_width=4Gadfly.pt, major_label_font_size=14Gadfly.pt, minor_label_font_size=12Gadfly.pt, key_title_font_size=16Gadfly.pt, key_label_font_size=12Gadfly.pt), Gadfly.Guide.YLabel("Eigenvalues"), Gadfly.Guide.XLabel("Eigenvectors")) + eigenval = Gadfly.plot(Gadfly.Scale.x_discrete, Gadfly.Scale.y_log10, Gadfly.Geom.line(), Gadfly.Theme(; line_width=4Gadfly.pt, major_label_font_size=14Gadfly.pt, minor_label_font_size=12Gadfly.pt, key_title_font_size=16Gadfly.pt, key_label_font_size=12Gadfly.pt), Gadfly.Guide.YLabel("Eigenvalues"), Gadfly.Guide.XLabel("Eigenvectors"); x=eachindex(sortedeigenv), y=sortedeigenv) filename = "$(rootname)-eigenvalues" * ext plotfileformat(eigenval, filename, 4Gadfly.inch + 0.25Gadfly.inch * nP, 4Gadfly.inch; format=format, dpi=imagedpi) madsinfo("Eigen values plot saved in $filename")