recently I am trying to reproduce and modify a certain figure, shown below, in Inkscape. Problem is, if I draw the Electrocardiogram (ECG, or EKG) at the bottom right using
, chances are I can only fill the entire Path with one single flat colour, rather than doing different colours in different 'session' of the Path. Not sure how to do it. Thinking of using 'Mask'. But still getting used to it. Any ideas?

best regards,
Tidus