Hi everyone, I have a problem with my figure. My code:
somun=[0 0.2 0.5 0.8 1 1.5 2 3 4 5 6 7 8 9 10]';Buk_coffecient=[...7012.26 775.968 35.8488 3.559547296.98 830.493 37.1051 3.70777506.14 838.193 38.024 3.815287623.1 852.734 38.5353 3.874887675.48 859.207 38.7631 3.901367762.34 869.922 39.1389 3.945077818.47 875.013 39.3804 3.973297894.38 881.292 39.7055 4.011737948.59 885.601 39.9375 4.039517991.29 888.903 40.1204 4.06168026.31 891.562 40.2706 4.079858055.69 893.76 40.3967 4.095228080.71 895.624 40.5043 4.108368102.29 897.217 40.597 4.119728121.07 898.596 40.6779 4.12963];figure hold on plot(somun,Buk_coffecient(:,1),'-og','LineWidth',1.5); plot(somun,Buk_coffecient(:,2),'-^r','LineWidth',1.5); plot(somun,Buk_coffecient(:,3),'-*c','LineWidth',1.5); plot(somun,Buk_coffecient(:,4),'-','LineWidth',1.5); set(gca,... 'Units','normalized',... 'Position',[0.15 0.2 .7 .75],... 'FontUnits','points',... 'FontWeight','bold',... 'FontSize',12, ... 'FontName','Times') ylabel('Buckling coefficient','Fontsize',12, 'FontName','times') xlabel('n ','Fontsize',12, 'FontName','times')% grid on
legend('b/h=10','b/h=20','b/h=50','b/h=100','Fontsize',5)% title('xet diem giua tam, n = 1, a/b = 1')
box
Then I have a figure as follow
So as you can see the 2 bottom lines are very strict to see. I want to solve this like this figure
That means I can see clearly all lines in the figure. Thank you!
Best Answer