Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f24fa301 authored by Elian Dib's avatar Elian Dib
Browse files

Better way to use current view

parent 7313c68d
No related branches found
No related tags found
No related merge requests found
...@@ -151,9 +151,9 @@ classdef Viewer < handle ...@@ -151,9 +151,9 @@ classdef Viewer < handle
title_{1} = [obj.name ' ' coordStr]; title_{1} = [obj.name ' ' coordStr];
title(title_); title(title_);
u=obj.curView(1); v=obj.curView(2); cv = num2cell(obj.curView);
obj.im.CData = obj.slices{u,v}; obj.im.CData = obj.slices{cv{:}};
obj.im.AlphaData = double(any(~isnan(obj.im.CData),3)); obj.im.AlphaData = double(any(~isnan(obj.im.CData),3));
obj.ax.CLim = obj.range_; obj.ax.CLim = obj.range_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment