x=[1:0.5:10]; quadrati=x.^2; cubi=x.^3; loglog(x,quadrati,x,cubi); %semilogx, semilogy xlabel('numeri'); ylabel('potenze'); legend('quadrati','cubi')