Structure Figure

Figure with Matlab / Scilab type API.

Namespace: dsp::view

Fields list

f : tsd::vue::Figure

Methods list

dsp::view::Figure::Figure(tsd::vue::Figure f_)

dsp::view::Figure::Figure(const std::string &name="")

void clear()
Efface la figure.

Curve plot(const float &x, const float &y, const string &format="")

Curve plot(const Vector<T> &y, const string &format="", const string &label="", Ts &&... args)

Curve plot(const Vecf &x, const Vecf &y, const string &format="", const string &label="", Ts &&... args)
Affiche une courbe.

Curve plot_psd(const Vector<T> &y, float fe=1.0, const string &format="", const string &label="", Ts &&... args)
Affiche le spectre d'un signal.

Curve plot_img(const Tabf &Z, const string &format="jet")
Dessine une surface 2d avec des niveaux de couleur.

Curve plot_img(const Rectf &rdi, const Tabf &Z, const string &format="jet")

Curve plot_minmax(const Vecf &x, const Vecf &y1, const Vecf &y2)

Curve plot_iq(const Veccf &z, const string &format="", const string &label="", Ts &&... args)

void set_rdi_min(const Rectf &rdi)

void set_rdi(const Rectf &rdi)

tsd::vue::Axes dsp::view::Figure::axes()

void title(const string &titre_global)
Définition du titre de la figure (ou de la sous-figure en cours).

void titles(const string &titre_global, const string &axe_x="", const string &axe_y="")
Définition des titres.

void set_legend_position(const string &code)

tsd::vue::Canva dsp::view::Figure::canva()

tsd::vue::Canva dsp::view::Figure::canva_pre()

tsd::vue::Canva dsp::view::Figure::canva_pixel(const Dim &allocation)

void show(const string &nom_fenetre="")
Affichage à l'écran dans une fenêtre à part.

void save(const string &chemin_fichier, const Dim &dim={-1, -1}) const
Rendu vers une image bitmap.

std::string dsp::view::Figure::get_name() const

void set_name(const string &s)

Figure clone() const

sptr<const Rendable> rendable() const