Graphics of data, fitted curve and error bar all together

version (213 KB) by fhz
This code creates figure with data points, fitted curve and error bars.


Updated Sat, 14 Jan 2017 17:57:39 +0000

View License

This code loads struct files and plots data from "dados" field.
Main idea is to store data and some information on a struct and plot all this data at once.

First column is x-axis and the others as the data to y-axis.
It plots the data as markers, the fitted curve, and error bars.
It swaps colors, markers and linetypes along the process.
Legends are also inserted accordingly to data themselves.
Fontsize of title, x and y labels are predefined.
All created figures are automatically saved in the named folder, if the folder does not exist, it is created.

Examples of structs and figure results are given.

Cite As

fhz (2022). Graphics of data, fitted curve and error bar all together (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!