grokwik
2008-06-11 07:41:19 UTC
Hello,
I've just discovered octave and I like it. I'm using octave 3.0.1.
I've written a script and I'm happy with it except for the graphic
part.
The plot is "ok" but :
I can't change the legend location :
I tried
legend('Pm
+Pb','sxx','syy','szz','sxy','syz','sxz',"location",'southeast');
but it didn't work (the legend is still on its default location)
i can't change the linewidth
My script :
plot(xc,TRESCA,'k') ;
hold on ;
plot(xc,CHAMP) ;
grid on ;
xlabel('Abcisse curviligne');
ylabel('Contrainte en MPa');
title('Linearisation des contraintes');
legend('Pm+Pb','sxx','syy','szz','sxy','syz','sxz');
print('depsc', 'linearisation.eps');
I've just discovered octave and I like it. I'm using octave 3.0.1.
I've written a script and I'm happy with it except for the graphic
part.
The plot is "ok" but :
I can't change the legend location :
I tried
legend('Pm
+Pb','sxx','syy','szz','sxy','syz','sxz',"location",'southeast');
but it didn't work (the legend is still on its default location)
i can't change the linewidth
My script :
plot(xc,TRESCA,'k') ;
hold on ;
plot(xc,CHAMP) ;
grid on ;
xlabel('Abcisse curviligne');
ylabel('Contrainte en MPa');
title('Linearisation des contraintes');
legend('Pm+Pb','sxx','syy','szz','sxy','syz','sxz');
print('depsc', 'linearisation.eps');