How to plot a timeline

Yes, I got the figure. In fedora I need to do this:

echo 0 0 | gmt psxy -R-1/1/-1/1 -Ba1 -JX12c -Sc0.5 -G0 -P > test.ps

which adds the gmt before psxy