myplot_loglog

Make a nice log-log plot, or semi-log plots quickly

You are now following this Submission

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 (2026). myplot_loglog (https://ch.mathworks.com/matlabcentral/fileexchange/58988-myplot_loglog), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: mycolor(colorcode, selectplate)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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