I'm trying to plot frequency values from a loop over speed. I use multiple loops and it is not easy to plot with multiple markes, linestyles and colors. I found a function by Sébastien Martin in Matlab file exchange:
(See attachment)
It works if I try it with:
plot_styles(rand(10,6))
But as I need to plot with loops:
clear all,close all;clc;n = (1:6);F = rand(10,6);figurefor j =1:10plot_styles(n,F(j,:))hold onend
It did not give me different linestyles, colors and markers. Why? How can I make it work?
Thanks in advance!
Best Answer