Commit c1831caf authored by Jason Reneuve's avatar Jason Reneuve
Browse files

change poloidal color in spectra1d

parent c03fbd5ca743
......@@ -296,7 +296,7 @@ imin = {imin_plot:8d} ; imax = {imax_plot:8d} ; delta_i = {delta_i_plot}"""
ylim=None,
):
self._plot_ndim(
ax = self._plot_ndim(
tmin,
tmax,
coef_compensate=coef_compensate,
......@@ -308,6 +308,8 @@ imin = {imin_plot:8d} ; imax = {imax_plot:8d} ; delta_i = {delta_i_plot}"""
ndim=3,
)
return ax
def _plot_ndim(
self,
tmin=0,
......@@ -406,6 +408,8 @@ imin = {imin_plot:8d} ; imax = {imax_plot:8d}"""
if ndim == 1:
fig.legend()
return ax
def _plot1d_direction(
self, direction, imin_plot, imax_plot, coef_compensate, ax
):
......
......@@ -145,7 +145,7 @@ class SpectraNS3DStrat(SpectraNS3D):
_plot(spectrumK, "r", f"$E_K(k_{direction})$")
_plot(spectrumA, "b", f"$E_A(k_{direction})$")
_plot(spectrumKhd + spectrumKz, "y", "poloidal", 0.8)
_plot(spectrumKhd + spectrumKz, "m", "poloidal", 1)
def plot_kzkh_cumul_diss(self, tmin=0, tmax=None):
path_file = self.path_file_kzkh
......
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