corrplot does not fill screen

3 views (last 30 days)
Vitaly Kheyfets
Vitaly Kheyfets on 26 Mar 2019
Answered: Max Wyse on 19 Dec 2019
Hello -
When I use corrplot, all the plots end up crunched together in the corner of the screen (see attachment). In fact the new versions of Matlab (2018b and 2019a) have been giving me a lot of trouble with plotting.
I was having this problem with 2018b and 2019a did not correct it.
Does anyone know how to get around this issue? I need this plot for a paper.
Thank You,
Vitaly

Answers (1)

Max Wyse
Max Wyse on 19 Dec 2019
Hi Vitaly,
I understand you are seeing the normal corrplot output appearing in the bottom right corner of your figure window. In recent versions of matlab, corrplot was adjusted to plot onto whatever axis was selected as the current axis (this was done for app development reasons). Unfortunately, this created a bug in which successive calls to corrplot would result in the output being plotted in the bottom right corner of the figure window, as that corner is where the last axis was used by the previous corrplot call.
This bug has been fixed and the behavior should not appear in R2020a. In the meantime, the best work around is to close the previous figure window before calling corrplot again.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!