CONAN._classes.load_rvs.plot
============================

.. py:method:: CONAN._classes.load_rvs.plot(plot_cols=(0, 1, 2), col_labels=None, nrow_ncols=None, figsize=None, fit_order=0, show_decorr_model=False, detrend=False, phase_plot=0, hspace=None, wspace=None, binsize=0.0, return_fig=False)

   visualize data

   :param plot_cols: Tuple specifying which columns in input file to plot. Default is (0,1,2) to plot time, flux with fluxerr.
                     Use (3,1,2) to show the correlation between the 4th column and the flux.
                     if decorrelation has been done with `lmfit`, the "res" can also be given to plot a column against the residual of the fit.
   :type plot_cols: tuple of length 3;
   :param col_labels: label of the given columns in plot_cols. Default is ("time", "rv").
   :type col_labels: tuple of length 2;
   :param nrow_ncols: Number of rows and columns to plot the input files.
                      Default is (None, None) to find the best layout.
   :type nrow_ncols: tuple of length 2;
   :param fit_order: order of polynomial to fit to the plotted data columns to visualize correlation.
   :type fit_order: int;
   :param show_decorr_model: show decorrelation model if decorrelation has been done.
   :type show_decorr_model: bool;
   :param detrend: plot the detrended data. Default is False. Setting to True also sets show_decorr_model=True
   :type detrend: bool;
   :param phase_plot: plot data in phase. only when decorrelation has been performed and show_decorr_model=True.
                      Default is 0 to not phase fold, 1 to phase on period of planet 1, etc.
   :type phase_plot: int;
   :param hspace: height and width space between subplots. Default is None to use matplotlib defaults.
   :type hspace: float;
   :param wspace: height and width space between subplots. Default is None to use matplotlib defaults.
   :type wspace: float;
   :param binsize: binsize to use for binning the data in time. Default is 0.0104 (15mins).
   :type binsize: float;
   :param figsize: Figure size. If None, (8,5) is used for a single input file and optimally determined for more inputs.
   :type figsize: tuple of length 2;
   :param return_fig: return figure object for saving to file.
   :type return_fig: bool;

