Skip to content
Snippets Groups Projects
Commit afdc8c43 authored by Andreas Weissenbrunner's avatar Andreas Weissenbrunner
Browse files

fix plot over dl

parent c94833af
No related branches found
No related tags found
No related merge requests found
...@@ -700,11 +700,10 @@ class mainPanel(wx.Panel): ...@@ -700,11 +700,10 @@ class mainPanel(wx.Panel):
# #
elif plot_over == 3 and flow.case != "SingleElbow": # this is dl elif plot_over == 3 and flow.case != "SingleElbow": # this is dl
x = np.linspace(flow.dl[0],flow.dl[-1],200) x = np.linspace(flow.dl[0],flow.dl[-1],200)
y,y_u = self.interpol_meter(self.Rc,self.dl,self.dist,x) y,y_u = self.interpol_meter(self.Rc,x,self.dist,self.phi)
x = x/pi*180
xlabel = "angle in grad" xlabel = "angle in grad"
# the selected x-value from the sliders # the selected x-value from the sliders
x_selected = self.phi/pi*180 x_selected = self.dl
# #
else: else:
print("no axes selected") print("no axes selected")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment