Plot Graph with Matlab: Table Values

  • Context: MATLAB 
  • Thread starter Thread starter Air
  • Start date Start date
  • Tags Tags
    Graph Matlab
Click For Summary
SUMMARY

This discussion focuses on plotting graphs in MATLAB using specific table values rather than formulas. Users shared methods to utilize the 'plot' function, specifically using commands like plot(x(1), y(1), 'o') to plot individual points. The conversation highlighted the importance of correctly indexing the data and using additional commands to customize the appearance of the plot, such as markers for specific data points.

PREREQUISITES
  • Familiarity with MATLAB syntax and commands
  • Understanding of data indexing in MATLAB
  • Basic knowledge of plotting functions in MATLAB
  • Experience with customizing plot aesthetics in MATLAB
NEXT STEPS
  • Explore MATLAB's plot function documentation for detailed usage
  • Learn about MATLAB's data indexing techniques for effective data manipulation
  • Investigate customization options for MATLAB plots, including markers and line styles
  • Practice plotting multiple data sets in MATLAB for comparative analysis
USEFUL FOR

This discussion is beneficial for MATLAB users, data analysts, and engineers looking to visualize specific data points from tables effectively.

Air
Messages
202
Reaction score
0
How can I plot graph using a few values in the table? I know how to plot if we are to plot a formula but how can I plot pacific values?
 
Physics news on Phys.org
plot(x(1), y(1), x(3) y(3)) plus a couple of other commands for dots etc...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K