Matlab script for generating nice plots

A simple function for setting the common parameters of a 2D plot easily
946 Downloads
Updated 4 Jun 2012

View License

This function takes in as input the following values:-
x = x data
y = y data
line_width = a number
line_style
line_color
marker
marker_size
marker_face_color
marker_edge_color

It also asks the user to input the xlabel, ylabel, title and legend.
The fontweight and the fontsize for the axes labels and title can be changed in the function.

Cite As

silver_surfer (2026). Matlab script for generating nice plots (https://www.mathworks.com/matlabcentral/fileexchange/36980-matlab-script-for-generating-nice-plots), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Labels and Annotations in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0