Hey vimal,
From what I understand you might want to explore the 'Color' and 'DisplayName' Name-Value argument of the plot function.
Given your data and what you want to achieve, the below code snippet should help you plot color wise columns in a single figure.
%Assuming epoch_1 is defined as
epoch_1 = 1:size(Javad0081_Round_1, 1);
% Create a new figure explicitly
fig = figure;
% Hold on to plot multiple lines
hold on;
% Define a colormap with 36 unique colors
colors = lines(36); % You can also try 'jet', 'parula', etc.
% Plot each PRN column
for i = 1:36
plot(epoch_1, Javad0081_Round_1(:, i), 'Color', colors(i, :), 'DisplayName', ['PRN' num2str(i)]);
end
% Add labels, title, and legend
xlabel('Epoch');
ylabel('Measurement Value');
title('PRN Measurements Over Epochs');
legend('Location', 'eastoutside');
grid on;
hold off;
I have attached the documentation of plot function especailly the 'Color' and 'DisplayName' property section for your refernce and better understanding