Added multi-plotting functionality