This MATLAB graphics tutorial shows you how you can plot multiple lines on the same plot.
By
Doug Hull
Doug first used MATLAB in 1994, could not figure it out until he got some help in 1995. He is now dedicated to making sure that no one else wastes a year of their life not knowing MATLAB like he did.
Hi Doug, Good video, just a minor comment to add (and I almost thought you’d say that in your video towards the end). Plotting like this, you don’t know anymore which color represents which phase. So you might wanna turn on the legend.
>> legend(’1′,’2′,’3′)
Leave a Reply
About
Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.
Hi Doug, Good video, just a minor comment to add (and I almost thought you’d say that in your video towards the end). Plotting like this, you don’t know anymore which color represents which phase. So you might wanna turn on the legend.
>> legend(’1′,’2′,’3′)