plotdbsel(dbmat, xcol, ycol, lcol, ltpn)

Plots selected portions of the database matrix.
219 Downloads
Updated 12 Apr 2017

View License

% plotdbsel(dbmat, xcol, ycol, lcol, ltpn):
% dbmat - Database matrix with each row representing a sample
% xcol - Numbers of the columns representing the X-axis
% More than one column is allowed for X-axis
% ycol - Numbers of the columns representing the Y-axis
% More than one column is allowed for Y-axis
% lcol - Numbers of the columns clustering data into curves
% More than one column forms permutation for clustering
% ltpn - Display pattern applied to curve legend
% If ltpn is not selected, the legend will not display
% If ltpn is [], a simple pattern will be auto-generated
%
% [hdl,ltxt,ldat]=plotdbsel(...):
% hdl - handler for the ploted figure
% ltxt - curve cluster info used in the legend in text form
% ldat - curve cluster info in numerical form
%
% Example:
% plotdbsel(datt(datt(:,3)>0,:),1,4,2,[])
% plotdbsel(datt,1,4:6,[2 3],[])

Cite As

Weihu Wang (2026). plotdbsel(dbmat, xcol, ycol, lcol, ltpn) (https://in.mathworks.com/matlabcentral/fileexchange/45586-plotdbsel-dbmat-xcol-ycol-lcol-ltpn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Line Plots in Help Center and MATLAB Answers
Tags Add Tags
Version Published Release Notes
777.777.0.2

Added multi-column processing capabilities

1.1.0.0

Added sorting for data display.
Added legend display.
Added detailed description.

1.0.0.0