## 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…

## 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,…

## Intersection of two surfaces

We would like to intersect a 3D plot with a plane. The problem is not to get the two functions into a plot, but to…

## Klein bottle

Both mesh and surface plots are actually special parametrized plots where x and y are on cartesian grid points. Parameterized plots just need a special…