curlyBrace

Module Name : curlyBrace

Author : 高斯羽 博士 (Dr. GAO, Siyu)

Version : 1.0.2

Last Modified : 2019-04-22

This module is basically an Python implementation of the function written Pål Næverlid Sævik for MATLAB (link in Reference).

The function “curlyBrace” allows you to plot an optionally annotated curly bracket between two points when using matplotlib.

The usual settings for line and fonts in matplotlib also apply.

The function takes the axes scales into account automatically. But when the axes aspect is set to “equal”, the auto switch should be turned off.

Change Log

  • Notable changes:
    • Version1.0.2
      • Added considerations for different scaled axes and log scale

    • Version1.0.1
      • First version.

Reference

https://uk.mathworks.com/matlabcentral/fileexchange/38716-curly-brace-annotation