What algorithm can I use for pattern-matching on line charts?
<p>I have a line chart A, a set of pairs <code>(x, y)</code>. I have another line chart B, a set of such pairs as well.</p>

<p>What algorithms can I use for finding patterns between those two charts? Informally, by a <strong><em>pattern</em></strong> I mean <em>parts of those two charts where the way a line behaves is similar</em>.</p>

<p>How to approach the issue? I only seek the names of algorithms or ways such problems are approached, nothing more.</p>