Hi, I need do a plot with y scale but that adjust this scale automatic. Anyone help me?
Example (adjust but without scale in y scale):
if true % {subplot(5,2,3)
plot(per_mg,'-*k')set(gca,'Position',[0.1, 0.68, 0.31, 0.10])axis tightset(gca,'YTick',10:10:60)set(gca,'XTick',0:1:4)set(gca,'XTickLabel',{'','1T','2T','3T','PP'},'Fontsize',6)xlabel('Momento Estudado','Fontsize',6);ylabel('%','Fontsize',6);title('Percentagem de massa gorda','Fontsize',8,'FontWeight', 'Bold')} end
Example (manual adjusted but with scale in the y scale):
if true % {subplot(5,2,3)plot(per_mg,'-*k')set(gca,'Position',[0.1, 0.68, 0.31, 0.10])axis [1 4 10 60]set(gca,'YTick',10:10:60)set(gca,'XTick',0:1:4)set(gca,'XTickLabel',{'','1T','2T','3T','PP'},'Fontsize',6)xlabel('Momento Estudado','Fontsize',6);ylabel('%','Fontsize',6);title('Percentagem de massa gorda','Fontsize',8,'FontWeight', 'Bold')}end
Best Answer