StatsPlots.jl
StatsPlots.jl copied to clipboard
Corrplot fails with certain matrices
I am trying to plot data with corrplot(). It works for certain data, but fails for other data, i.e. no error is thrown but the plotting does not finish either. See the following minimal example:
using StatsPlots
A = [3.1860855 3.2 3.2 263.15; 6.372171 1.6 1.6 263.15; 6.372171 1.6 1.6 263.15; 8.496228 1.2 1.2 263.15; 8.496228 1.2 1.2 263.15; 12.744342 0.8 0.8 263.15; 12.744342 0.8 0.8 263.15]
corrplot(A) # works fine
A2 = [6.372171 1.6 1.6 263.15; 6.372171 1.6 1.6 263.15; 8.496228 1.2 1.2 263.15; 8.496228 1.2 1.2 263.15; 12.744342 0.8 0.8 263.15; 16.992456 0.6 0.6 263.15; 16.992456 0.6 0.6 263.15]
corrplot(A2) # does not work
Points to PlotUtils/35TGG/src/ticks.jl:64 when stopping with ctrl+c.
See also here at julia discourse
The order of the plotting is also not important. If plotting A2 first, the plotting still gets stuck while plotting A2.
Just to be sure if A2 might be the problem, I successfully corplotted A2 in matlab,