Community Profile

photo

Da Bu


Last seen: 1 month ago Active since 2021

Statistics

All
  • First Answer
  • First Review

View badges

Content Feed

View by

Channel


ADDFerti
simple I/O and potentiometer

1 month ago

Answered
Adding variable values into legend
Maybe this code can help you: x = 1:.1:3; colors = jet(5); for n = 1:5 plot(x,sin(x)*n,'color',colors(n,:),'DisplayNam...

2 years ago | 4

Answered
how to do plotting with different colors in same figure?
for a small set of colors, you can use ColorOrderIndex t=1:0.1:2*pi; for i=1:5 plot(t,sin(t)*i), hold on ax = gca; ...

2 years ago | 0