Trace a curve with two colors? <p>is there a way to have a curve with two colors, well i have many curves in my plot. But I like to add a specific characteristic, i want the curve 1 to be <strong>simple line</strong> in[a,b] interval, and <strong>dotted line</strong> in interval [b,c].</p> <p>an example of my graph:</p> <p>plot exp(-x**2 / 2), sin(x)</p> <p>can we make sin(x) plotted in dotted line from[0,5]</p> <p>thanks in advance.</p>