Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: how to delete a line in an axes oblect without changing axis scale

$
0
0
I like both of Steven's suggestions, but I also have a couple more.
%remember axis limits and rest them
my_axis=axis;
delete(LINE);
axis(my_axis);

%cheat, by setting line color to white (setting the visible property to off doesn't work)
set(LINE,'color','w')

Viewing all articles
Browse latest Browse all 19628

Trending Articles