One user asked me how to fill the area between two functions. That is not difficult, but you need to define the path around the area to be filled manually.
>t=linspace(0,2pi,500); s=exp(-t^2); >t1=fliplr(t); s1=sin(t1); // t1 is t in reverse order >plot2d(t|t1,s|s1,>filled,style="/"); ... >plot2d((0|t)_t1,(0|s)_s1,>add):
We define an array of t-values and with that the values s of the first function. Then we reverse the order of the t-values and define the values of the second function. We append everything and call the plot2d function for a filled polygon. The fill rule automatically fills those places in the plane, where the path runs around an odd number of times.
The second plot2d command simply draws a curve around the area.
The result is the following.