I want to access a library MATPLOTLIB in Python to plot scatter plots with ease but I am coding in OpenCV with C++. 
Ultimately,I want to convert this to a mex file and invoke it inside MATLAB.
Can Python codes be converted to mex files in MATLAB? Also, can the Python library be accessed in C++?
Any other alternative solutions?
 
    