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. 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.

  5. 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.

  6. You can use figure properties option once you generate the plot. Click on the subplot which you want to resize. From property editor select 'more properties' option. There if you scroll you will see 'Position' tab. You can change those values to see how the subplot moves and thus adjust subplot according to your preference.

  7. 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.

  8. 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 ...

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

    www.mathworks.com/matlabcentral/answers/100459

    Starting in R2019b, you can also use tiledlayout and nexttile instead of subplot, which has shared titles and labels. You can use the title , xlabel , and ylabel commands directly with tiledlayouts:

  10. How do I decrease the margins around the subplots in my figure in...

    www.mathworks.com/matlabcentral/answers/93012

    Learn more about axis, white, space, margin, subplot, subaxis MATLAB I would like to decrease the white space around my plots because when I copy the figure to a Word document, the margins around the axes reduces the size of the plot and I often have to crop this sp...

  11. Reducing the distance among subplot figures? - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/898032-reducing-the-distance-among...

    Learn more about image, subplot, figure, plotting, plot, graph MATLAB I am using a subplot option to plot parts of a figure. Is there is a possibility to reduce the distance between the two figures, without affecting their dimensions (as shown by the arrows).