Skip to content

Commit

Permalink
plot
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Aug 5, 2024
1 parent f458c30 commit c2a828a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MadsPlot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Dumps:
- histogram/scatter plots of model parameter samples
"""
function scatterplotsamples(madsdata::AbstractDict, samples::AbstractMatrix, filename::AbstractString; np=size(samples, 2), format::AbstractString="", pointsize::Measures.AbsoluteLength=3Gadfly.pt * 4 / np, major_label_font_size::Measures.AbsoluteLength=24Gadfly.pt * 4 / np, minor_label_font_size::Measures.AbsoluteLength=12Gadfly.pt * 4 / np, highlight_width=1Gadfly.pt * 4 / np, dpi=Mads.imagedpi, separate_files::Bool=false, plottypes::AbstractVector=[:histogram, :scatter])
function scatterplotsamples(madsdata::AbstractDict, samples::AbstractMatrix, filename::AbstractString=joinpath(Mads.getmadsproblemdir(madsdata), Mads.getmadsrootname(madsdata) * "_emcee_scatter.png"); np=size(samples, 2), format::AbstractString="", pointsize::Measures.AbsoluteLength=3Gadfly.pt * 4 / np, major_label_font_size::Measures.AbsoluteLength=24Gadfly.pt * 4 / np, minor_label_font_size::Measures.AbsoluteLength=12Gadfly.pt * 4 / np, highlight_width=1Gadfly.pt * 4 / np, dpi=Mads.imagedpi, separate_files::Bool=false, plottypes::AbstractVector=[:histogram, :scatter])
@assert np == size(samples, 2)
paramkeys = getoptparamkeys(madsdata)
plotlabels = getparamlabels(madsdata, paramkeys)
Expand Down

0 comments on commit c2a828a

Please sign in to comment.