MVPlot. Easy and flexible TAG based plot

Simple function for plottings based on the use of TAGS to set chart properties
181 Downloads
Aktualisiert 14. Mär 2014

Lizenz anzeigen

% function mvplot(varargin)
% =========================
%
% Flexible plot function which exploits VARARGIN in order to define the
% components of the chart and their characteristics.
%
% The function is based on a sequence of <'feature',value> couples
% The 'feature' is a tag (string) for selecting a particular characteristic of the
% chart; the value sets the selected characteristic. The data type of the
% value depends on the handled characteristic.
%
% EXAMPLE
%
% x=1:10; y=2*x+3
% mvplot('x',x,'y',y,'title','My sample title','legend','MyData');
%
% LIST OF TAGS
% ============
%
% x : x values (numeric)
% y : y values (numeric, MANDATORY)
% xlabel, ylabel : axes labels (string)
% title : figure title (string)
% titlefontsize : title font size (numeric)
% linestyle : style of the line (Matlab format)
% linewidth : width of the line (numeric)
% legend : legend entry for the current data serie (string)
% legendfontsize : legend size (numeric) [the last update of this feature within the
% same figure determines the fontsize of the whole legend]
% fillspace : if specified reduces the margins of the figure

Zitieren als

Marco Vannucci (2024). MVPlot. Easy and flexible TAG based plot (https://www.mathworks.com/matlabcentral/fileexchange/45882-mvplot-easy-and-flexible-tag-based-plot), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Added screenshot...

1.0.0.0