Fri, 06 Dec 2024 13:53:16 -0500
Colour adjustments
37 | 1 | \usepackage{pgfplots} |
2 | \usepackage[svgnames]{xcolor} | |
3 | \usepgfplotslibrary{colorbrewer} | |
4 | ||
5 | \pgfplotsset{ | |
6 | compat=1.18, | |
7 | % forget plot = no legend | |
8 | edge/.style = {thick, gray!50!black,forget plot}, | |
9 | data/.style = {mark=*, blue, only marks}, | |
10 | backdata/.style = {mark=*, blue!30!white, only marks, onlyback, forget plot}, | |
44 | 11 | iter1/.style = {mark=x, Crimson}, |
37 | 12 | iter2/.style = {mark=star, BlueViolet}, |
42 | 13 | iter3/.style = {mark=asterisk, DarkOliveGreen}, |
44 | 14 | backiter1/.style = {mark=x, Crimson!70!white, onlyback, forget plot}, |
15 | backiter2/.style = {mark=star, BlueViolet!70!white, onlyback, forget plot}, | |
16 | backiter3/.style = {mark=asterisk, DarkOliveGreen!70!white, onlyback, forget plot}, | |
37 | 17 | origin/.style = {mark=o, green, only marks, thick}, |
18 | surfstyle/.style = {very nearly opaque, forget plot}, | |
19 | legend style = { | |
20 | inner sep = 0pt, | |
21 | outer xsep = 5pt, | |
22 | outer ysep = 0pt, | |
23 | legend cell align = left, | |
24 | align = left, | |
25 | draw = none, | |
26 | fill = none, | |
27 | font = \small | |
28 | }, | |
29 | illustr3d/.style = { | |
30 | axis equal, | |
31 | width=5cm, | |
32 | height=5cm, | |
33 | scale only axis, | |
34 | enlargelimits=false, | |
35 | colormap access=map, | |
36 | colormap/Blues, | |
37 | colorbar, | |
38 | point meta rel=axis wide, | |
39 | shader = interp, | |
40 | xlabel = {$x$}, | |
41 | ylabel = {$y$}, | |
42 | zlabel = {$z$}, | |
43 | ticks = none, | |
44 | axis line style = {draw=none}, | |
45 | %axis x line = none, | |
46 | %axis y line = none, | |
47 | %axis z line = none, | |
48 | legend columns = 3, | |
49 | legend style = { | |
50 | at = {(0.5, 1.1)}, | |
51 | anchor = north, | |
52 | column sep = 1ex, | |
53 | }, | |
54 | mark size=1.5pt, | |
55 | } | |
56 | } |