python has matplotlib,. I don"t know whether CPP has the same level of drawing library. If you want to achieve the drawing effect of matlab in the MFC framework, you can achieve some simple operations like matlab, such as zooming in and out, coordinate positioning, image movement and other functions.