added plot preamble