diff --git a/.github/workflows/quarto-book-macos.yaml b/.github/workflows/quarto-book-macos.yaml index 51842b56..d6b2d04e 100644 --- a/.github/workflows/quarto-book-macos.yaml +++ b/.github/workflows/quarto-book-macos.yaml @@ -20,7 +20,7 @@ jobs: - name: Install Quarto uses: quarto-dev/quarto-actions/setup@v2 with: - version: 1.4.549 + version: 1.4.550 - uses: r-lib/actions/setup-r@v2 with: diff --git a/.github/workflows/quarto-book-ubuntu.yaml b/.github/workflows/quarto-book-ubuntu.yaml index 7867e02c..2ea78ae5 100644 --- a/.github/workflows/quarto-book-ubuntu.yaml +++ b/.github/workflows/quarto-book-ubuntu.yaml @@ -20,7 +20,7 @@ jobs: - name: Install Quarto uses: quarto-dev/quarto-actions/setup@v2 with: - version: 1.4.549 + version: 1.4.550 - uses: r-lib/actions/setup-r@v2 with: diff --git a/DESCRIPTION b/DESCRIPTION index 16c76971..c65b4c24 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -42,7 +42,7 @@ Imports: geodata (>= 0.4.13), gifski, ggalluvial, - gganimate, + gganimate (>= 1.0.9), ggbeeswarm, ggbump, ggdensity, @@ -53,7 +53,7 @@ Imports: ggmosaic, ggnewscale, ggplot2 (>= 3.5.0), - ggraph (>= 2.1.0), + ggraph (>= 2.2.0), ggrepel, ggridges, ggsignif, @@ -140,8 +140,7 @@ Imports: LinkingTo: StanHeaders (>= 2.32.2), RcppParallel (>= 5.1.0) Remotes: davidsjoberg/ggbump, - davidsjoberg/ggstream, - thomasp85/ggraph + davidsjoberg/ggstream Suggests: quarto (>= 1.2), rsconnect (>= 1.1.0) diff --git a/examples/latex/tikz-cone.pdf b/examples/latex/tikz-cone.pdf new file mode 100644 index 00000000..fd539fcc Binary files /dev/null and b/examples/latex/tikz-cone.pdf differ diff --git a/examples/latex/tikz-cone.tex b/examples/latex/tikz-cone.tex new file mode 100644 index 00000000..60c04b9c --- /dev/null +++ b/examples/latex/tikz-cone.tex @@ -0,0 +1,35 @@ +\documentclass[tikz]{standalone} +\usepackage{pgfplots} +\pgfplotsset{width=13cm,compat=1.18} +\begin{document} + +\begin{tikzpicture} +\begin{axis} +[ + % view={-45}{45}, + view/h=40, + 3d box=complete, + % grid=major, + colormap/viridis, + samples=20, + unit vector ratio=, %1 1 1, + z post scale=1, + z buffer=sort, +] + +\addplot3 [surf,shader=interp,domain=-1:1] ( + {x}, + {y}, + {x*y - sqrt((x^2-1)*(y^2-1))} +); + +\addplot3 [surf,shader=interp,domain=-1:1] ( + {x}, + {y}, + {x*y + sqrt((x^2-1)*(y^2-1))} +); + +\end{axis} +\end{tikzpicture} + +\end{document}