Commit 1daf66a2 authored by Daniel Brown's avatar Daniel Brown
Browse files

fixing ylabel

parent ff17e7f9
Pipeline #1777 passed with stage
in 18 seconds
...@@ -512,7 +512,11 @@ put f1m f $mx1 ...@@ -512,7 +512,11 @@ put f1m f $mx1
ax.set_xlim([np.min(out.x), np.max(out.x)]) ax.set_xlim([np.min(out.x), np.max(out.x)])
ax.set_xlabel("{} [deg]".format(d.name)) ax.set_xlabel("{} [deg]".format(d.name))
ax.set_ylabel('{} [W] '.format(d.port.name))
if plotDOFs is None:
ax.set_ylabel('{} [W] '.format(d.port.name))
else:
ax.set_ylabel('{Error signal} [W] ')
ax.grid(True) ax.grid(True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment