Making graphs appear in a grid

Hi, I've got a set of graphs subplotted, each row should share a y axis and each column should share an x axis. At the moment all the limits are correct for this, but the sizing is off. This is what it currently looks like:
and this is the layout I want to achieve:
Any help would be appreciated, I can't find a simple way to sort it.

Risposte (1)

Jan
Jan il 12 Lug 2017

0 voti

There are many modified version of subplot in the FileExchange, see: FEX: Search 'suplot' . But nobe of them can adjust the widths of the diagrams automatically. I do not recognize, how these widths are detemerined on first view, so perhaps you have to modify one of the methods to consider a non-regular grid. Actually it is not hard:
  • Define the X and Y positions of the axes
  • Remove the Y-ticks from all but the left most axes

Questa domanda è chiusa.

Richiesto:

il 12 Lug 2017

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by