MATLAB Answers

How to give color to data?

5 views (last 30 days)
vimal kumar chawda
vimal kumar chawda on 11 May 2020
Edited: vimal kumar chawda on 11 May 2020
figure(1)
plot(epoch_1,Javad0081_Round_1)
hold on
k=0.5;
plot(epoch_1,k+Javad0082_Round_1)
hold off
If my data for the epoch_1 = 1:668;
Javad0081_Round_1 = 668*36; 2D data. Please see the attachment and I want to plot 669 to x axis and all 36 column on y axis mentioning that the Prn1= column1......
So during plot row will be plot and column will be plot in different column. But how to give the name as per color ? I did not mention that this color so how will mention that this color is for red -column1 , blue - column2, ..................upto 36.

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!