help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

refreshdata over a plot handle ?


From: bob
Subject: refreshdata over a plot handle ?
Date: Sun, 24 Feb 2013 18:13:39 +0530

Hi,

I am trying to do this:

scatter(dataPts(:,1),dataPts(:,2));
hold on;
plot(0,0,'xDataSource','curveFitPts(:,1)','yDataSource','curveFitPts(:,2)');
hold off;
# later in a loop..
refreshdata(gcf(),'caller');
drawnow;

But the problem is, calling refreshdata over the figure handle removes the earlier scatter plot also.

I guess if there would be a way to simply do a refreshdata over a plot handle rather than the entire figure would keep the scatter plot permanently. Any body know how to do that ?

--
bob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]