Plot a matrix and assign properties for each column
8 vues (au cours des 30 derniers jours)
I am trying to find a shorter way to plot a matrix with 3 columns. I dont know how to assign the properties for each line after plotting. Below is the code that I am using, it will plot a graph with 3 different lines for 3 vector columns in the data.txt. However, I want to differentiate them by assign color for each line.
Of course I can plot 3 different graphs and use hold on, hold off to merge them into one graph. I am wondering if there is a way to assign the plot properties without separate and merge them again. Thank you all for your help.
title('Daily precipitation of 3 different locations');