How to choose color in bsxfun?
Mostrar comentarios más antiguos
Hey Matlab expert,
offset = 200; % Can be varied based on the amplitude of the signals
inter_line = (size(data, 2) * offset: -offset : offset);
data_inter_line = bsxfun (@plus, data, inter_line);
figure
plot(data_inter_line)
How can I define a specific color as i wish to each of 4 graphs?
Thank you in advance... :)
Respuestas (1)
Image Analyst
el 28 de Sept. de 2013
0 votos
You can redefine the default color order to whatever you want. See my demo, attached below.
1 comentario
Jan
el 28 de Sept. de 2013
Nothing is attached here.
Categorías
Más información sobre Color and Styling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!