Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion +nla/+gfx/+plots/MatrixPlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ function applyScale(obj, ~, ~, upper_limit_box, lower_limit_box, scale, color_ma

import nla.net.result.NetworkResultPlotParameter nla.gfx.ProbPlotMethod

obj.color_bar.Ticks = [];

color_map = color_map_select;
if ~isstring(color_map_select) && ~ischar(color_map_select)
color_map = get(color_map_select, "Value");
Expand All @@ -211,7 +213,6 @@ function applyScale(obj, ~, ~, upper_limit_box, lower_limit_box, scale, color_ma
end

obj.matrix = obj.original_matrix;

if ismember(obj.plot_scale, ["nla.ProbPlotMethod.NEGATIVE_LOG_10", "nla.ProbPlotMethod.NEGATIVE_LOG_STATISTIC"]) &&...
ismember(scale, ["nla.ProbPlotMethod.DEFAULT", "nla.ProbPlotMethod.LOG"])
obj.matrix.v = 10.^(-obj.matrix.v);
Expand Down
Binary file modified +nla/+net/+result/+plot/NetworkTestPlotApp.mlapp
Binary file not shown.
Loading