I can not make the figure landscape in the subplot
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I can not make the figure landscape in the subplot
0 commentaires
Réponses (1)
nick
le 5 Fév 2024
Hi Shreen,
I understand from your query that you are interested in achieving landscape orientation for a figure with subplots.
The "orient" function used in the code is used to set the paper orientation for printing or saving a figure. The following image shows the "landscape" paper orientation:
To adjust your subplots within the landscape-oriented figure, you can change the number of rows and columns in the "subplot" function. Here's an example code snippet that creates a 2x1 grid of subplots in a landscape-oriented figure:
subplot(2,1,1);
a = 1 ; %RADIUS
L=.1;
akm=4;gamma=0.3;arh=1; %beta1=beta2=1,a1=1,a2=2,arh=1,delta=0.5,u2=1
alphaa=sqrt(((2+akm).*akm./(gamma.*(2+akm))).^2+arh.^2);
betaa=(2.*akm.*arh.^2./gamma).^(0.25);
alpha1=sqrt((alphaa.^2+sqrt(alphaa.^4-4.*betaa.^4))./2);
alpha2=sqrt((alphaa.^2-sqrt(alphaa.^4-4.*betaa.^4))./2);
dd=6;
You may refer the following documentations to learn more about "orient" and "subplot" functions :
Hope this helps.
0 commentaires
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!