About 160,000 results
Open links in new tab
  1. area - MathWorks

    area(X,Y) plots the values in Y against the x-coordinates X. The function then fills the areas between the curves based on the shape of Y : If Y is a vector, the plot contains one curve.

  2. Choose a 2-D Map Display - MathWorks

    Use a map projection appropriate for a world or US region by specifying the name of the region, for example Europe or California. Use a predefined projection defined by MATLAB. View a polar region.

  3. xregion - MathWorks

    Plot a parabola and create a filled region between x=-5 and x=5. You can modify aspects of a region by setting properties. You can set properties by specifying name-value arguments when you call xregion, or you can set properties later using dot notation.

  4. 10 Types of MATLAB 2D Plot Explained with Examples and Code

    Apr 9, 2019 · How to draw a MATLAB 2D plot? What are the different types of two-dimensional plots in MATLAB? Explained with code and examples.

  5. Two dimensional plots are created with the plot function Syntax: plot(x,y) plot(xdata,ydata,LineSpec) plot(x1,y1,x2,y2,...) plot(x1,y1,LineSpec1,x2,y2,LineSpec2,...) Note: x and y must have the same shape, x1 and y1 must have the same shape, x2 and y2 must have the same shape, etc. By shape we mean the same number of rows and columns.

  6. matlab - How can I plot a meshgrid in 2D? - Stack Overflow

    Oct 14, 2013 · First you plot v vs u in blue colour, with a solid line and a "x" marker at each data point (that's the b-x argument). This gives you the "curved" vertical lines. Then, you plot the transpose of v (v') vs the transpose of u (u') on the same graph, using the same formatting. This adds the horizontal lines to the graph.

  7. 2-D and 3-D Plots - MathWorks

    Use plots to visualize data. For example, you can compare sets of data, track changes in data over time, or show data distribution. Create plots programmatically using graphics functions or interactively using the Plots tab at the top of the MATLAB ® desktop.

  8. How to outline a region in a surface plot in Matlab

    Dec 12, 2016 · I have a 2D array data and I plot it using surf. In the surface plot, there is a region in which the elements in data are greater than 0.9*max(max(data)). I want to 'outline' the region.

  9. How to plot a region in a Matlab plot? - MATLAB Answers

    Sep 8, 2019 · I want to shade(filled) several regions in a 2D plot by different colors. The attachment contains the plot I am expecting to plot. I could not find a better tutorial to plot this …

  10. Plot 2D/3D region - File Exchange - MATLAB Central - MathWorks

    Jan 4, 2010 · The program plots convex closed regions in 2D/3D. The region is a subset of R2 or R3 such that Ax>=b and lb<=x<=ub. It is also possible to plot points in the same plot. (See help plotregion for more documentation)

  11. Some results have been removed