Post tags: | matplotlib | python | sagemath | 2D Plotting

parametric_plot( (sin(t), sin(2t)), (t, 0, 2pi), color=hue(0.6) )

Installation page

Linux install

Determine my Debian version

        lsb_release -a
        No LSB modules are available.
        Distributor ID:	Debian
        Description:	Debian GNU/Linux 8.5 (jessie)
        Release:	8.5
        Codename:	jessie

Download Binaries launch page

Download and install for Debian 8

        cd /home/craig/dev/sage/sage-7.3
        tar xf sage-7.3-Debian_GNU_Linux_8-x86_64.tar.bz2 
Linux install instructions

Verify the unpacked sage script.

        file /home/craig/dev/sage/sage-7.3/SageMath/sage
         ->  a /usr/bin/env bash script, ASCII text executable

Another approach is to create a symbolic link, say /usr/local/bin/sage, pointing to the sage bash script.

        ln -s /home/craig/dev/sage/sage-7.3/SageMath/sage ~/bin/sage
And run sage

        │ SageMath version 7.3, Release Date: 2016-08-04                     │
        │ Type "notebook()" for the browser-based notebook interface.        │
        │ Type "help()" for help.                                            │

Plotting functions in 2D

        f = exp(-(0.0001) * x)