; January 2012 | Michael Ian Lapsley

[Matlab] Adding ASCII Charecters for abvanced ploting

Some times in Matlab one may want to add some charecter in the code. Here is an example: Lets say you want to plot several variables with similar names (like A1, A2, A3) using a for loop as such: A1 = 0:5; A2 = 5:10; A3 = 10:15;for i = 1:3    eval(['plot(A',num2str(i),')'])    hold on end This will work but all of your plots will have the same line type, symbol...