xcode - ECG plotting in IOS using Core Plot library. -


i'm trying plot ecg on ios application using core plot library this video .i have tried plot ecg in video in ios app.i got following result.

enter image description here

in general ecg graph should plotted left end of graph(lead 1 in screen shot) after specific time interval.when i'm plotting ecg in app after specified time interval,each graph gets plotted on top of previous graph. how can solve this?

you can implement similar "real time plot" demo in plot gallery example app, although application little simpler since don't need update plot space after each frame of new data. can leave gap in plot line inserting data point nsnull or nan value between points on either side of break.

the plot must redraw after every change plot data, need balance size (pixel dimensions) of plot , number of data points desired update rate. note ranges specified start location , length of range. add new data point , move blank space on 1 spot, reload range starting @ arrayindex , length of 2 (2). increment arrayindex each new point , wrap around index 0 (0) when end.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -