The plot-lab package

[Tags:deprecated, gpl, program]
Deprecated. in favor of plot-gtk-ui, calculator

Mathematica has a nice plotting feature that allows for plotting of functions that depend on more than one variable, and then allows changing the value of the extra parameters to see real-time animated changes in the plot. This application attempts to provide the same for 2-D plots for free.

[Skip to Readme]


Versions,,, (info)
Dependencies base (==4.7.*), colour (==2.3.*), gtk (==0.13.*), hmatrix (==0.16.*), plot (==0.2.*), text (==1.2.*), vector (>= && < [details]
License GPL-2
Author Sumit Sahrawat
Category Math
Home page
Source repository head: git clone
Uploaded Wed Dec 17 04:14:40 UTC 2014 by sumitsahrawat
Distributions NixOS:
Downloads 618 total (6 in the last 30 days)
0 []
Status Docs not available [build log]
Last success reported on 2015-05-20 [all 8 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for plot-lab

Readme for plot-lab-


Work in Progress

An ambitious attempt to provide mathematica like dynamic plotting for free.

  • Written in haskell.
  • Based on plot (hackage) (github).
  • GUI written using gtk2hs (using gtk).
  • GUI designed using glade.
  • Also available at hackage.



The installation for gtk requires that gtk2hs-buildtools be installed, and the binary be in your $PATH. The below commands take care of that, without permanently changing the $PATH.

$ cabal update
$ cabal install gtk2hs-buildtools
$ env PATH="~/.cabal/bin:$PATH" cabal install plot-lab


  • Install gtk2hs with instructions from here.

  • Then use cabal to install plot-lab.

cmd> cabal install plot-lab


The window displays the sum of two gaussian distributions with sliders for mean and std. deviation. The plan is to add custom function input facilities and make it more interactive.

The package is too raw to be used with custom functions right now. Those with haskell knowledge might be able to make changes and get what they want.