Creating a Basic Plot Interactively
Create plots interactively from within the MATLAB® desktop environment.
If you know exactly how you want to visualize your data, simply select/highlight it in the workspace and MATLAB will display all relevant chart types for your data.
For a guided experience, use the Create Plot Live Editor task in the MATLAB Live Editor to browse all chart types or create a specific chart. For each type of graph, the Live Editor task shows the arguments needed to create the graph, which you can select from your workspace. The generated graph updates as you make tweaks and change parameters.
You can customize a visualization even further by popping out the figure window and accessing various tools like the Figure Palette and Property Editor.
When you are done with your customizations, you can generate the code needed to reproduce them and easily apply the visualization to other data.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.