Subplot with multiple plots for same location
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a figure that is 3 by 5 plots in it where plot locations [3 4 8 9] are one plot that is generated by same function. I use following code;
hold on
subplot(3,5,[3 4 8 9]);
PlotFunc1();
PlotFunc2();
PlotFunc3();
all PlotFunc1,2,3() are my own functions where 3 of them generates the figure I need for [3 4 8 9], I cannot generate one function to generate the figure, so how can I use 3 different functions to generate a figure and plot it as one figure for location [3 4 8 9].
Thanks
0 commentaires
Réponses (1)
Image Analyst
le 13 Août 2012
You can't do that because 8 and 9 aren't underneath 2 and 3. Look:
1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18
You can put a big plot covering 3, 4, 9, and 10, because they are in a big square, or you can do 2, 3, 8 and 9. But you can't do 3,4 and 8,9 because 8,9 aren't underneath 3 and 4.
Voir également
Catégories
En savoir plus sur Subplots 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!