Skip to content

Commit

Permalink
gadfly keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Aug 7, 2024
1 parent 02a2e8f commit 99910b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MadsSensitivityAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 99910b0

Please sign in to comment.