How to plot N subplots?

2 vues (au cours des 30 derniers jours)
Ibro Tutic
Ibro Tutic le 7 Juin 2017
I have a GUI where a user can select what plots they want from multiple possibilities. I am trying to find a way to robustly plot N plots on a subplot and have it look clean. I was thinking of finding the greatest common factors of the number, N? I'm not really sure how to go about this.

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Juin 2017
Make one of the dimensions
find(mod(N, 1 : floor(sqrt(N)))==0, 1, 'last')
and the other one N divided by that.

Plus de réponses (1)

Akshay Kumar
Akshay Kumar le 8 Août 2018
You can check this code, might be helpful Click here

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by