loelschlaeger / fHMM

Hidden Markov models for finance
https://loelschlaeger.de/fHMM/
GNU General Public License v3.0
16 stars 8 forks source link

Hello, about legends of hierarchy HMM plots. #80

Closed AlbertLIi closed 1 year ago

AlbertLIi commented 1 year ago

The legend in the plot of H-HMM is mixed. Colour is right, but the marks is mixed. Please check.

loelschlaeger commented 1 year ago

Hi @AlbertLIi, thanks for the notification.

The plotting method for HHMMs has already been updated, including a fix with regard to the mixed colors in the legend. The update is included in {fHMM} 1.1.0, which soon will be available on CRAN. In the meantime, you can download this version via devtools::install_github("loelschlaeger/fHMM").

For example, {fHMM} 1.0.3 had produced a plot like this: plot_old.pdf, where the legend (as well as other things) look bad. Now, {fHMM} 1.1.0 would produce this plot: plot_new.pdf.

Does this solve your issue? Best, Lennart.