Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_plot_vector”.
FT_PLOT_VECTOR Use as ft_plot_vector(Y, ...) or as ft_plot_vector(X, Y, ...) where X and Y are similar as the input to the Matlab plot function. Optional arguments should come in key-value pairs and can include axis = draw the local axis, can be 'yes', 'no', 'xy', 'x' or 'y' box = draw a box around the local axes, can be 'yes' or 'no' highlight = a logical vector of size Y, where 1 means that the corresponding values in Y are highlighted (according to the highlightstyle) highlightstyle = can be 'box', 'thickness', 'saturation', 'difference' (default='box') tag = a name this vector gets. All tags with the same name can be deleted in a figure, without deleting other parts of the figure color = see MATLAB standard Line Properties, it can also be for example 'rbg' to plot three lines with different colors linewidth = see MATLAB standard Line Properties markersize = see MATLAB standard Line Properties markerfacecolor = see MATLAB standard Line Properties style = see MATLAB standard Line Properties label = see MATLAB standard Line Properties fontsize = see MATLAB standard Line Properties It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows hpos = horizontal position of the center of the local axes vpos = vertical position of the center of the local axes width = width of the local axes height = height of the local axes hlim = horizontal scaling limits within the local axes vlim = vertical scaling limits within the local axes Example use ft_plot_vector(randn(1,100), 'width', 1, 'height', 1, 'hpos', 0, 'vpos', 0)
Share this page: