---
language: sage
category: plotting/Intro
---
title: Introduction
descr: This is a very simple example how to plot a function.
code: plot(x * sin(x), (x, -10, 10))
---
title: Simple 2D Plot
code: plot(2*x^2 - 3*x + 1, (x, -10, 10))
descr: Plot of $\sin$-function.
---
title: Cool 2D Plot
code: plot(x * sin(x), (x, -10, 10))
descr: Plot of $f(x) = x \sin(x)$.
---
title: Simple 3D Plot
code: |
%var x, y
plot3d(sin(x) * cos(y), (x, -10, 10), (y, -10, 10))
descr: 3D plot of the $\sin(x)\cos(y)$-function.