Skip to content

Commit f09a5f8

Browse files
committed
Clean up.
1 parent f56acfb commit f09a5f8

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

images/valley.tex

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@
66

77
\begin{document}
88
\begin{tikzpicture}
9-
% FIXME: rotate the zlabel, change plot color, and move z axis to right
109
\begin{axis}[
1110
%title={$x^2 + y^2$},
12-
3d box=complete,
11+
%3d box=complete,
1312
grid=major,
1413
axis background/.style={fill=blue!5},
1514
xlabel=$v_1$,
1615
ylabel=$v_2$,
1716
zlabel=$C$,
17+
xtick distance=1,
18+
ytick distance=1,
19+
ztick distance=1,
20+
xtick={-1,0,1},
21+
ytick={-1,0,1},
22+
ztick={0,1,2},
1823
colormap={cool}{rgb255(0cm)=(255,0,255); rgb255(1cm)=(0,128,255); rgb255(2cm)=(255,255,255)}]
1924
\addplot3[surf,domain=-1:1] {
2025
x*x + y*y

images/valley_with_ball.tex

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@
66

77
\begin{document}
88
\begin{tikzpicture}
9-
% FIXME: rotate the zlabel, change plot color, and move z axis to right
109
\begin{axis}[
1110
%title={$x^2 + y^2$},
12-
3d box=complete,
11+
%3d box=complete,
1312
grid=major,
1413
axis background/.style={fill=blue!5},
1514
xlabel=$v_1$,
1615
ylabel=$v_2$,
1716
zlabel=$C$,
17+
xtick distance=1,
18+
ytick distance=1,
19+
ztick distance=1,
20+
xtick={-1,0,1},
21+
ytick={-1,0,1},
22+
ztick={0,1,2},
1823
colormap={cool}{rgb255(0cm)=(255,0,255); rgb255(1cm)=(0,128,255); rgb255(2cm)=(255,255,255)}]
1924

2025
\addplot3[surf,domain=-1:1] {

0 commit comments

Comments
 (0)