How to change corrplot line and scatter dots properties?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
dila suay
am 1 Jan. 2023
Kommentiert: dila suay
am 3 Jan. 2023
Hi Eveyone,
I would like to change the properties of corrplot, like linewidth or color of the dot. How can I do that?
Also, is there any way to save only 1 plot in corrplot?
Thank you
0 Kommentare
Akzeptierte Antwort
Bora Eryilmaz
am 1 Jan. 2023
Bearbeitet: Bora Eryilmaz
am 2 Jan. 2023
Get the handle of the plot out and modify the desired properties:
[~,~,h] = corrplot(rand(100,2))
h(1,2)
h(1,2).Color = 'r';
h(1,2).MarkerSize = 4;
The regression line's handle can be found as:
h(1,2).Parent.Children
L = h(1,2).Parent.Children(2);
L.LineWidth = 3;
4 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!