## Tufte style axes in 3D

Here you can sdee Tufte style axes in 3D. The axis affect is achieved by shifting axes, ticks and labels. The command \pgfplotspointouternormalvectorofticklabelaxis{x} is a…

## Julia set

This is a picture of a Julia set, named after the French mathematician Gaston Julia. Computing requires a lot of iterations, that’s why we use…

## Mandelbrot set

The Mandelbrot consists of points whose boundary is a two-dimensional fractal shape. It is named after the mathematician Benoit Mandelbrot. It’s computed using a lot…

## Combining surface and contour plots

Here we show how contour plots and 3D surface plots can be combined. Pgfplots can compute the z contours by means of gnuplot and its…

## Contour on a surface

We will combine surface and contour plots. We would like the contour lines drawn on the surface to be hidden by the surface in the…

## Torus

For drawing a torus, we can parametrize the surface as (for example) x(t,s) = (2+cos(t))*cos(s+pi/2) y(t,s) = (2+cos(t))*sin(s+pi/2) z(t,s) = sin(t) where both t and…

## Moebius strip

A Moebius strip plot. This code was written by Jake on TeX.SE. \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.8} \begin{document} \begin{tikzpicture} \begin{axis}[ hide axis, view = {40}{40} ] \addplot3…

## Bivariate normal distribution

We would like to draw a bivariate normal distribution and show where the means from the two variables meet in the space. There are a…

## Christmas tree

A Christmas tree plot. This code was written by Jake on TeX.SE. \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.8} \begin{document} \begin{tikzpicture} \begin{axis}[ hide axis, clip=false, y domain=0:2*pi, samples=30,axis equal,…