How to plot N subplots?
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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.
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!