Gnuplot is a free, handy software to plot mathematical functions. It runs on various system (on Windows, too)
Portal plus Steam on Linux, 4 free.
Plays fine in a window (I think it’s flaky video card issue) with Playonlinux on Linux Ubuntu 10.10. Just install it, install steam (available in the list) and install Portal for free. See more at: Portal on Steam