Tiledlayout issues: colorbar title and spacing
Afficher commentaires plus anciens
I've just discovered tiledlayout. At first, it seemed like a good solution to some of the difficulties with subplot, but I'm finding it comes with it's own difficulties. Here are two issues that I cannot resolve:
1.) If I want a common colorbar on the side for all plots, I cannot get the recommended approach to work: cb = colorbar; cb.Layout.Tile = 'east'; Could this be a version issue? I'm using 2019b. To get around this, I'm using the Position property of the colorbar. The problem now is that the colorbar title is always cut off. When I expand the figure horizontally, that leads to my second issue...
2.) The spacing between the tiles is not fixed, but seems to be proportional to the window size. So, when trying to see my colorbar title by expanding horizontally, the spacing between the figures all gets bigger despite setting it to compact or even none. Similarly, I find that the spacing is not fixed relative to the size of the plot in each tile. That is, when the x axis is longer, the horizontal spacing between tiles is smaller, but when the x axis is shorter, the spacing is large even when set to none.
UPDATE: I've noticed that the tile spacing remains at least more the same if the plot is stretched more or less equally in both directions to maintain its original aspect ratio.
I'd appreciate help on either of these issues if there are known solutions. Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Color and Styling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!