Empyreal092 / MATLAB_Tool

Tools for MATLAB that I use often

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MATLAB_Tool

These are some tools for MATLAB that I use often. Specifically, if some MATLAB code I wrote prompts you that some scripts are missing, they are most likely here.

I set up my MATLAB to have these tools available by default. To do this, I change the MATLAB userpath to the folder containing these files. This way on MATLAB startup startup.m will run and these files will be in MATLAB's search path.

To get matlab-schemer when you clone this repo, see the insturction about git submodule at the end.

Now a description of what some of these scripts does:

  1. figure_default.m: set the default figure properties to the style that I perfer. In particular, the text interpreter are set to be 'latex' and the color for line plots are ones freindly to colorblindness.
  2. pplot.m: (pretty (enough) plot) call this function after the plotting commands. It sizes the figures so that they can be placed on a document without being scaled. 8cm is the right width so that 2 figures fit on a letter page side-by-side. (This function also place the figure on the monitor that works for my dual monitors setup, play with x0 and y0 to make this work for you)
  3. figs_convert.m: call this function to convert all fig files in the folder to another type of files (the default is pdf).
  4. subaxis.m: tools to make formatting subplots easier. From MATLAB File Exchange, authored by Aslak Grinsted. I made a modification to fix an oversight of the original version, see detail in Ryan_change.txt.

To also clone the submodules of this repository, use the insturction about git submodule available here. Specifically, you could clone using

git clone --recurse-submodules -j8 https://github.com/Empyreal092/MATLAB_Tool.git

or after you have cloned this repo, cd into the folder, and type in

git submodule update --init --recursive

About

Tools for MATLAB that I use often

License:GNU General Public License v3.0


Languages

Language:MATLAB 99.7%Language:Java 0.1%Language:Verilog 0.1%Language:C++ 0.1%Language:VHDL 0.1%Language:M 0.0%