/MATLABGraphicsFunctions

Functions to reduce common make-figure-look-nicer commands to as few keystrokes as possible (requires MATLAB 2014b or newer)

Primary LanguageMatlab

MATLABGraphicsFunctions

Functions to reduce common make-figure-look-nicer commands to as few keystrokes as possible (requires MATLAB 2014b or newer).

Usage

  • Add top folder to MATLAB path.
  • Access functions with ggraph.function(inputs).
  • Or inherit into another object using < ggraph.

Functions

og - checks openGL is set to harware, if available.
ng - makes the current figure look nicer, specific templates can be defined inside.
hgx - uses hgexport and savas to save .png, svg and/or .fig.
getCols - get MATLAB's 'DefaultAxesColorOrder'.