| 76 | self._ydata_list[plot_index][dataset_index] = self._ydata_list[plot_index][dataset_index][start_index:] |
| 77 | |
| 78 | def set_plot_data(self,plot_id,data_label,xdata,ydata): |
| 79 | plot_index = self._plot_dict[plot_id] |
| 80 | dataset_index = self._data_line_labels[plot_index][data_label] |
| 81 | self._xdata_list[plot_index][dataset_index] = xdata |
| 82 | self._ydata_list[plot_index][dataset_index] = ydata |
| 83 | self._window_length_list[plot_index] = len(self._xdata_list[plot_index][dataset_index]) |
| 84 | |
| 85 | def set_window_length(self, plot_id, window_length): |
| 86 | self._window_length_list[plot_id] = window_length |