Open links in new tab
  1. plot - 2-D line plot - MATLAB - MathWorks

    This MATLAB function creates a 2-D line plot of the data in Y versus the corresponding values in X.

  2. Plotting Data - MATLAB & Simulink - MathWorks

    Plotting Data Introduction. After you import data into the MATLAB ® workspace, it is a good idea to plot the data so that you can explore its features. An exploratory plot of your data enables you to identify discontinuities and potential outliers, as well as the regions of interest. The MATLAB figure window displays plots.

  3. Basic Plotting Function Programmatically - MATLAB - MathWorks

    Sep 27, 2019 · It illustrates how you can quickly make sample data for a plot using commands like randn and linspace. Then, the video covers the plot function itself, and it shows how using the plot function instantly creates a plot figure window containing the data.

  4. fplot - Plot expression or function - MATLAB - MathWorks

    Function to plot, specified as a function handle to a named or anonymous function. Specify a function of the form y = f(x). The function must accept a vector input argument and return a vector output argument of the same size. Use array operators instead of matrix operators for the best performance. For example, use .* (times) instead of ...

  5. Create 2-D Line Plot - MATLAB & Simulink - MathWorks

    Create a two-dimensional line plot using the plot function. For example, plot the value of the sine function from 0 to 2 π . x = linspace(0,2*pi,100); y = sin(x); plot(x,y)

  6. 2-D and 3-D Plots - MATLAB & Simulink - MathWorks

    To create two-dimensional line plots, use the plot function. For example, plot the sine function over a linearly spaced vector of values from 0 to 2 π : x = linspace(0,2*pi); y = sin(x); plot(x,y)

  7. Create Plots of Symbolic Expressions - MATLAB & Simulink

    Now, you can plot U and V by using standard MATLAB plotting functions. Create a plot of the vector field defined by the functions U(X,Y) and V(X,Y) by using the MATLAB quiver function.

  8. Plots That Support Tables - MATLAB & Simulink - MathWorks

    The following examples use the plot and scatter functions to demonstrate the overall approach for plotting data from a table. To learn if a specific plotting function supports tables, refer to the documentation for that function.

  9. Line Plots - MATLAB & Simulink - MathWorks

    Line plots are a useful way to compare sets of data or track changes over time. You can plot the data in a 2-D or 3-D view using either a linear or a logarithmic scale. Also, you can plot expressions or functions over specific intervals.

  10. Types of MATLAB Plots - MATLAB & Simulink - MathWorks

    Types of MATLAB Plots. There are various functions that you can use to plot data in MATLAB ®. This table classifies and illustrates the common graphics functions.

Refresh