Skip to main content

All Questions

-1 votes
1 answer
472 views

Plot for loop legend with fraction

I am using MATLAB R2018b. I have a for loop plot. I am struggling with legend which has fraction in it. My code and present output: % Plot ColorVec = hsv(length(Phi)); markers = {'+','o','*','.','...
Mainland's user avatar
  • 4,514
0 votes
1 answer
2k views

MATLAB - Add legend next to some chosen plots in a subplot - for loop

I want to add legends in a subplot, bu only for certain plots. Here is my code : for j = 1:length(FL) for i = 1:length(index_list) pos=pos+1; subplot(size(FL,1),length(index_list), pos) ...
Julien Corbo's user avatar