data structure for plotting created