Matlab script for generating nice plots

A simple function for setting the common parameters of a 2D plot easily

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0