enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. subplot - MathWorks

    www.mathworks.com/help/matlab/ref/subplot.html

    subplot(m,n,p) divides the current figure into an m-by-n grid and creates axes in the position specified by p. MATLAB ® numbers subplot positions by row. The first subplot is the first column of the first row, the second subplot is the second column of the first row, and so on.

  3. what is subplot and how to use it? - MATLAB Answers - MathWorks

    www.mathworks.com/matlabcentral/answers/50003

    The tile layout is the same as subplot, but tiledlayout also supports a "flow" layout that will automatically adjust the number of rows and columns to optimally fit your axes. In addition, since MATLAB R2023a you can specify a "vertical" or "horizontal" layout that will stack your axes vertically or horizontally.

  4. Plot function into subplots - MATLAB Answers - MATLAB Central -...

    www.mathworks.com/matlabcentral/answers/475863-plot-function-into-subplots

    In reality, this is a case where that code logic should be inside the function itself or the logic to retrieve should be inline inside the loop--the functional factorization is at the wrong level and by not having the overall x,y data in 2D X,Y arrays or cell arrays completely prevents having any effective way to address the portions of it that you want.

  5. How can I insert a title over a group of subplots?

    www.mathworks.com/matlabcentral/answers/100459

    FYI: suptitle is only available to those who have the Bioinformatics toolbox, and then it was included in a demo file and is not an actual MathWorks maintained function. However, as Paul Huxel points out, there is now (r2018b) a function in base MATLAB for this.

  6. making less space between figures in subplot - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/16458-making-less-space-between...

    The values of Rect leave some space on top and on the left for a title and a legend. But you can use get(gcf, 'DefaultaxesPosition') as the original SUBPLOT also. The shown method is faster than SUBPLOT, which spends a lot of time with searching for existing AXES at the same position considering rounding errors.

  7. subtightplot - File Exchange - MATLAB Central - MathWorks

    www.mathworks.com/matlabcentral/fileexchange/39664

    Joris Kampman's subplot_grid is a colossal 3500+ line object-based implementation. These high-end alternatives are a departure from the built-in subplot's calling syntax, though. For an overview, please see the Dec 21st, 2012 post on the File Exchange Pick of the Week Blog, titled "Figure margins, subplot spacings, and more…".

  8. How to code a figure having subplots with a for loop?

    www.mathworks.com/matlabcentral/answers/319443-how-to-code-a-figure-having...

    However, trying your logic, it shows me subplot (2,1,1), while subplot (2,1,2) on different figures and not on the same figure. I want it should retain (2,1,1) and plot (2,1,2) on the same figure during execution in the loop. Kindly pls suggest.

  9. Why subplots doesn't work? - MATLAB Answers - MATLAB Central -...

    www.mathworks.com/matlabcentral/answers/578182-why-subplots-doesn-t-work

    Dear All, Why in some cases I cant get subplots combined in one figure? For example, for one kind of plot I get figure with two subplots in this way: figure; subplot(2,2,1); plot(a); subplo...

  10. Subaxis - Subplot - File Exchange - MATLAB Central - MathWorks

    www.mathworks.com/matlabcentral/fileexchange/3696

    SUBAXIS Create axes in tiled positions. (just like subplot) Usage: h=subaxis(rows,cols,cellno[,settings]) h=subaxis(rows,cols,cellx,celly[,settings])

  11. subplot of trigonometric function - MATLAB Answers - MathWorks

    www.mathworks.com/matlabcentral/answers/487202-subplot-of-trigonometric-function

    subplot of trigonometric function . Learn more about subplot Hi, I want to make a 3x1 subplot (1 column and 3 row) for 3 trigonometric graphs y = sin(x) y= cos(x) y = tan(x) for x = 1:0.1:50 What code to do this?