autoscaling works

Auto-scaling now works in the y-domain. It now also successfully
displays all items in one plot with a legend.