How to plot N subplots?

조회 수: 2 (최근 30일)
Ibro Tutic
Ibro Tutic 2017년 6월 7일
답변: Akshay Kumar 2018년 8월 8일
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.

채택된 답변

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

추가 답변 (1개)

Akshay Kumar
Akshay Kumar 2018년 8월 8일
You can check this code, might be helpful Click here

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by