Structure Figure

Figure avec API de type Matlab / Scilab.

Espace de nom : tsd::vue

Liste des méthodes

tsd::vue::Figure::Figure(cstring nom="")

void clear()
Efface la figure.

Courbe plot(const Vecf &x, const VecT<T> &y, cstring format="", cstring label="", Ts &&... args)
Affiche une courbe.

Courbe plot(const VecT<T> &y, cstring format="", cstring label="", Ts &&... args)
Affiche une courbe (axe des abcisse implicite).

Courbe plot(const float &x, const float &y, cstring format="")
Affiche une courbe constituée d'un seul point (un marqueur)

Courbe plot(const tuple<Vecf, VecT<T>> &xy, cstring format="", cstring label="", Ts &&... args)

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

Courbe plot_img(const Rectf &rdi, const Tabf &Z, cstring format="jet")
Dessine une surface 2d avec des niveaux de couleur.

Courbe plot_img(const Tabf &Z, cstring format="jet")
Dessine une surface 2d avec des niveaux de couleur (dimensions par défaut).

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

Courbe plot_iq(const Veccf &z, cstring format="", cstring label="", Ts &&... args)

vector<Courbe> & courbes()

void def_rdi_min(const Rectf &rdi)

void def_rdi(const Rectf &rdi)

Rectf get_rdi() const

Axes axes()

void titre(cstring titre_global)
Définition du titre de la figure (ou de la sous-figure en cours).

void titres(cstring titre_global, cstring axe_x="", cstring axe_y="")
Définition des titres.

void def_pos_legende(cstring code)

void afficher(cstring titre="", const Dim &dim={-1, -1}) const
Affichage à l'écran dans une fenêtre à part.

void enregistrer(cstring chemin_fichier, const Dim &dim={-1, -1}) const
Enregistrement de la figure sous forme d'une image bitmap (png)

Canva canva()

Canva canva_pre()

Canva canva_pixel(const Dim &allocation)

void def_echelle(bouléen log_x, bouléen log_y)

string lis_nom() const

void def_nom(cstring s)

Figure clone() const

sptr<const Rendable> rendable() const