myplot_loglog

Make a nice log-log plot, or semi-log plots quickly
64 Downloads
Updated 2 Sep 2016

View License

Make a nice log-log plot, or semi-log plots quickly. Can change the base of X and Y axis from (1, 2, e and 10) independently.
SYNTAX
h = myplot_loglog(X, Y, type, color, style, baseX, baseY)

X, Y :data to be (maybe) transformed and plotted
type, color, style : variables to be passed to function myplot
type : 'S' for scatter, 'L' for line, 'B' for both, [] for default ('S')
color : color code *, [ ] for default ( 3 , or darkblue)
style : style of line or symbal (e.g. 'o', ':'), [] for deafult
baseX, baseY: base of log transform on data X and Y.
Can be 1 (not transformed), 2, e (default), or 10. [] for default (e)

For documentation see:
https://github.com/weitingwlin/matlabutility/blob/master/documents/myplot_loglog.md
or the PDF file

Cite As

Wei-Ting Lin (2024). myplot_loglog (https://www.mathworks.com/matlabcentral/fileexchange/58988-myplot_loglog), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Log Plots in Help Center and MATLAB Answers
Acknowledgements

Inspired by: mycolor(colorcode, selectplate)

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