We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f31a7cb commit 5beb654Copy full SHA for 5beb654
1 file changed
programming-notes/matlab/figures.md
@@ -3,3 +3,18 @@
3
Hierarchy of Figure objects.
4
5
<img width="399" height="290" alt="v2_gobjects_top-01" src="https://github.com/user-attachments/assets/ef906218-3256-4932-a98e-2091c0b706b3" />
6
+
7
8
9
+## Reset color order
10
11
+```matlab
12
+set(gca,'ColorOrderIndex',1) % reset color order for plot
13
+```
14
15
+or
16
17
18
+ax = gca;
19
+ax.ColorOrderIndex = 1; % reset color order for plot
20
0 commit comments