I have two column of data and would like to plot using octave. I did following :
f = load('rate.txt','r')
plot(f(:,1) ,f(:,2));
plot(f(:,1));
hold on;
plot(f(:,2));
I got respective graph. But both are in same color. I would like to assign differnet color for different graph and name to them like this colored graph is of this and this colored graph is of that. How would i do it?
You can draw hem using the line properties. And
legendis for stating which one is what. I suppose that Octave uses the same syntax as MATLAB. Here’s an example code snippet: