Hello,
I was attempting to change the color of one of the plots in my graph to a specific color but I could not get the program to work. Can you help me to change the colors of the plots. Here is my code:
tone = linspace(0,10000,10);% Modulation Flatness Data
Room = randi([0,100],10,1);Cold = randi([0,100],10,1);Hot = randi([0,100],10,1);figuresemilogx(tone, Room, 'Color',[1,0.4,0.6], tone, Cold, 'b', tone, Hot, 'r'); grid on; legend('RM', 'Hot', 'Cold');xlabel('Audio Tone (Hz)'); ylabel('Data (dB)');
Best Answer