export to grace uses current set order
This commit is contained in:
parent
091677991b
commit
a61dc40343
@ -111,15 +111,16 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow):
|
|||||||
return len(self.active)
|
return len(self.active)
|
||||||
|
|
||||||
def curves(self) -> tuple:
|
def curves(self) -> tuple:
|
||||||
for a in self.active:
|
for set_id in self.sets:
|
||||||
if self.real_button.isChecked():
|
if set_id in self.active:
|
||||||
if self.error_plots[a] is not None:
|
if self.real_button.isChecked():
|
||||||
yield self.real_plots[a], self.error_plots[a]
|
if self.error_plots[set_id] is not None:
|
||||||
else:
|
yield self.real_plots[set_id], self.error_plots[set_id]
|
||||||
yield self.real_plots[a],
|
else:
|
||||||
|
yield self.real_plots[set_id],
|
||||||
|
|
||||||
if self.imag_button.isChecked() and self.imag_plots[a] is not None:
|
if self.imag_button.isChecked() and self.imag_plots[set_id] is not None:
|
||||||
yield self.imag_plots[a],
|
yield self.imag_plots[set_id],
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def title(self):
|
def title(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user