Use the same color multiple times in a plotting loop
Mostra commenti meno recenti
Hello everyone,
I have a problem with a plotting loop, where I am plotting the spectral data and following the fit. For the reason of clarity I want to have them both in the same color, however matlab switches to the next color in order. Can anyone give me hint how to avoid this?
Ralf
3 Commenti
Narges M
il 23 Lug 2013
How do you mean? you could introduce a color variable and update it only after all the plots of each iteration are done. Maybe if you put parts of your code here, it would be easier to understand.
Ralf Niemann
il 24 Lug 2013
Ralf Niemann
il 24 Lug 2013
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!