PrincetonUniversity / SPEC

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.
https://princetonuniversity.github.io/SPEC/
GNU General Public License v3.0
25 stars 6 forks source link

fix plot_iota #186

Closed liuk2020 closed 1 year ago

liuk2020 commented 1 year ago

When trying to plot the iota profile, the xdata is R for all Poincare trajectories, but the ydata removes unsuccessful Poincare trajectories, so the length of the xdata and ydata may not be equal.