How to plot large square subplot?

How can i plot such large square subplot along with a common Title? It would be helpful to have an example?

Respuestas (1)

Image Analyst
Image Analyst el 11 de Oct. de 2018

0 votos

Set the 'Position' property of the individual axes to resize them.
You can use text() to place text, or use suplabel: https://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel

3 comentarios

Mr. 206
Mr. 206 el 11 de Oct. de 2018
Can i get an example?
% Create 4 subplots.
h1 = subplot(2, 2, 1);
h2 = subplot(2, 2, 2);
h3 = subplot(2, 2, 3);
h4 = subplot(2, 2, 4);
% Change size and location of subplot#1
h1.Position = [.1, .6, .2, .3]
Mr. 206
Mr. 206 el 11 de Oct. de 2018
Editada: Mr. 206 el 11 de Oct. de 2018
error: scalar cannot be indexed with .
error: assignment failed, or no method for 'scalar = matrix'

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 11 de Oct. de 2018

Editada:

el 11 de Oct. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by