The MATLAB plot gallery provides examples of many ways to display data graphically in MATLAB. You can view and download source code for each plot, and use it in your own MATLAB project.
For more options, visit MATLAB Live Script Gallery to run live script examples from the MATLAB Community.