Graphics of data, fitted curve and error bar all together

Version 1.0.0.0 (213 KB) by fhz
This code creates figure with data points, fitted curve and error bars.
58 Downloads
Updated 14 Jan 2017

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 (2024). Graphics of data, fitted curve and error bar all together (https://www.mathworks.com/matlabcentral/fileexchange/61149-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
Categories
Find more on Histograms in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0