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. In this case, when you do subplot(1,2,1); or subplot(121);, you would like to have one row and two columns worth of figures. The last number, p=1 means that you wish to place the plot in the left most column. When you do subplot(1,2,2); or subplot(122);, this is when p=2 and you wish to place the plot in the right most column.

  5. set same xlim for all subplots - MATLAB Answers - MathWorks

    www.mathworks.com/matlabcentral/answers/412592-set-same-xlim-for-all-subplots

    Hi all, i need to specify one "xlim" for my all multiple subplots. I read already answers here but i got some problems about my labels. It disappear. I think; because of "set(gca)" on my codes. ...

  6. Plotting a subplot within another subplot in MATLAB

    stackoverflow.com/questions/38206675

    Thanks so much for taking time to answer the question. Your solution is a good one. However, in providing a generic example I neglected to indicate that my 'small' subplot uses a special subplot (one from the FEX that removes spacing between plots) and I was rather hoping to keep that formatting while still using the normal subplot for the 'big' subplot.

  7. How do I create one legend for several subplots? - MATLAB Answers...

    www.mathworks.com/matlabcentral/answers/571999-how-do-i-create-one-legend-for...

    The issue here is that each legend needs to be associated with an axis. There is no built-in way to create an "overall legend". But it is perfectly fine to use a legend associated with the 4th subplot as an overall legend. You will have to play with the legend's position to achieve the desired look.

  8. One common xlabel and ylabel for multiple subplots

    www.mathworks.com/matlabcentral/answers/499823-one-common-xlabel-and-ylabel...

    Learn more about subplot, sgtitle for overall title Is there a straightforward way to add one common x label and ylabel to a figure containing multiple subplots? The solutions I read so far require a file exchange function or a fixed number of subp...

  9. How do I extract data from a specific subplot in a MATLAB figure?

    www.mathworks.com/matlabcentral/answers/493450-how-do-i-extract-data-from-a...

    Learn more about subplot, data extraction, figure, plot MATLAB I have a matlab figure with 12 subplots (6X2 figures) and I intend to convert certain subplots into data (whose position I know). I have seen tutorials where MATLAB figures where converted to data ...

  10. Increase the height (size) of subplots - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/1580549-increase-the-height-size-of...

    Increase the height (size) of subplots. Learn more about plot, subplot MATLAB

  11. How to set size of subfigures in a figure? - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/368917-how-to-set-size-of-subfigures...

    remdPic1, remdPic3, remdPic4 and remdPic4 are of the same size. While they are matrices of 256X128 I have no problem. Their actual size seems in the figure. However, while they are chosen as matrices of size 256X192 MATLAB shrinks the subfigures. I can guess what the problem is. While each 4 subfigure has 128 pixels width, they fit in 560 pixel.