position

position controls the position of the open figures

Syntax

Description

A number of relevant FSDA plots are positioned according to a predefined layout.

Reminder: the position property format is [left, bottom, width, height]

example

position(plmain) Three plots, with a recognized tag.

Examples

expand all

  • Three plots, with a recognized tag.
  • They are organized properly in the screen area.

    close all
    Y1=load('geyser2.txt');
    Y2=load('fishery.txt');
    Y3=load('M5data.txt');
    figure('Tag','pl_spm'); spmplot(Y1); hmain=gcf;
    figure('Tag','pl_spm'); spmplot(Y2);
    figure('Tag','pl_spm'); spmplot(Y3);
    position(hmain);

    Related Examples

    expand all

  • The three plots have now an unknown tag.
  • In this case, we assume that the plots are not relevant and are therefore put in a non-interesting screen area (top-right).

    close all
    Y1=load('geyser2.txt');
    Y2=load('fishery.txt');
    Y3=load('M5data.txt');
    figure('Tag','aaaaa'); spmplot(Y1); hmain=gcf;
    figure('Tag','bbbbb'); spmplot(Y2);
    figure('Tag',''); spmplot(Y3);
    position(hmain);

    Input Arguments

    expand all

    plmain — Figure handle. Scalar.

    The handle of a 'main' figure to be positioned at the top-left side of the screen, which is supposed to be the position attracting first the attention of a user.

    - If plmain not given, or it is empty, it is set to be the smaller handle, which normally is the handle of the first created figure.

    - If plmain is set to zero (0), then function cascade is applied.

    Data Types: single| double

    Output Arguments

    References

    See Also

    This page has been automatically generated by our routine publishFS