All pastes #894921 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-07 12:44 UTC
rendered paste body
t = 0:pi/20:2*pi;
y = exp(sin(t));
plotyy(t,y,t,y,'plot','stem')
xlabel('X Axis')
ylabel('Plot Y Axis')
title('Two Y Axes')

x=-10:0.01:10;
octave:9> t = 0:pi/20:2*pi;
octave:10> y = exp(sin(t));
octave:11> plotyy(t,y,t,y,'plot','stem')
error: `plotyy' undefined near line 11 column 1
octave:11>