Hi, I am having a small probllem in adding a legend, I just can't get all the names for different frequencies:
clear all;close all;load psi_20.matload time_20.matpsi_20 = psi;time_20 = time;plot(time_20,psi_20)legend('20Hz')hold onload psi_40.matload time_40.matpsi_40 = psi;time_40 = time;plot(time_40,psi_40)legend('40Hz')hold onload psi_60.matload time_60.matpsi_60 = psi;time_60 = time;plot(time_60,psi_60)legend('60Hz')hold onload psi_80.matload time_80.matpsi_80 = psi;time_80 = time;plot(time_80,psi_80)legend('80Hz')hold onload psi_100.matload time_100.matpsi_100 = psi;time_100 = time;plot(time_100,psi_100)legend('100Hz')hold on
I have matlab 2014b
Best Answer