From: Tom on
Hi,

I have a question. I'm busy with artefact removal in EMG-signals and to do that more accurately I need to use a zoomfunction and at the same time I want to mark artefacts with 'getpts'.
Is there a way to do both at the same time?

Sincerely,

Tom
From: Steven Lord on

"Tom " <t.konert(a)student.utwente.nl> wrote in message
news:htip9o$ort$1(a)fred.mathworks.com...
> Hi,
> I have a question. I'm busy with artefact removal in EMG-signals and to do
> that more accurately I need to use a zoomfunction and at the same time I
> want to mark artefacts with 'getpts'.
> Is there a way to do both at the same time?

How would you expect MATLAB to know whether you intended your click to be an
attempt to mark an artefact or to be an attempt to zoom into your graph?
While I suppose you could theoretically program MATLAB so that it's smart
enough to know what is or is not an artefact and to zoom or mark as
appropriate, wouldn't that eliminate your need to mark the artefacts?

The best you can do, I think, is to have a button or something that toggles
between the two modes.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com