sort x axis in group_as_matrix

This commit is contained in:
Pietro Vertechi 2018-08-25 19:04:42 +01:00
parent de3848ff53
commit 937acbc218

View File

@ -636,7 +636,7 @@ group_as_matrix(t) = false
x = g.args[1] x = g.args[1]
last_args = g.args[2:end] last_args = g.args[2:end]
end end
x_u = unique(x) x_u = unique(sort(x))
x_ind = Dict(zip(x_u, 1:length(x_u))) x_ind = Dict(zip(x_u, 1:length(x_u)))
for (key,val) in plotattributes for (key,val) in plotattributes
if splittable_kw(key, val, lengthGroup) if splittable_kw(key, val, lengthGroup)