Skip to content

Commit

Permalink
upgraded plot_likelihood
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan7773 committed Dec 25, 2023
1 parent ac83e76 commit dfaa280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ end
"""Function for Plotting Likelihood"""
function plot_likelihood(A)
# Create the heatmap
heatmap(A, color=:greys, clim=(0, 1),aspect_ratio = :equal, yflip=true, legend=false,xticks=1:9, yticks=1:9, xlabel="STATES", ylabel="OBSERVATIONS" )
x_max, y_max = size(A)
heatmap(A, color=:greys, clim=(0, 1),aspect_ratio = :equal, yflip=true, legend=false,xticks=1:x_max, yticks=1:y_max, xlabel="STATES", ylabel="OBSERVATIONS" )
end


Expand Down

0 comments on commit dfaa280

Please sign in to comment.