How to change the properties of a plot obtained from compare(mdl,data) function.
Mostra commenti meno recenti
I use "compare(mdl,data)" function. This function plots the test component degradation data in data superimposed on the most similar data sets from the historical ensemble stored in the fitted similarity model. However, the qualiy of the fiqure is not good enough. For instance, I want to double the linewidth or change the color of the lines. could you please me help me how can I do it?
Many thanks
Risposta accettata
Più risposte (1)
Tanmay Das
il 28 Dic 2021
Hi,
You can add formatting to your plots by adding name-value pair arguments to "compare" function. For instance, to double the linewidth or change the color of the line, to say red, you may write the following line in your code:
compare(mdl,data,'r','LineWidth',10)
2 Commenti
Sara
il 28 Dic 2021
Tanmay Das
il 28 Dic 2021
Modificato: Tanmay Das
il 28 Dic 2021
Can you please share your reproduction steps(all the code that is required to reproduce the issue at my end) for further investigation?
Categorie
Scopri di più su Classification Ensembles in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

