|
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}, |
|
11 iter1/.style = {mark=x, red}, |
|
12 iter2/.style = {mark=star, BlueViolet}, |
|
13 iter3/.style = {mark=asterisk, purple}, |
|
14 backiter1/.style = {mark=x, red!30!white, onlyback, forget plot}, |
|
15 backiter2/.style = {mark=star, BlueViolet!30!white, onlyback, forget plot}, |
|
16 backiter3/.style = {mark=asterisk, purple!30!white, onlyback, forget plot}, |
|
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 } |