Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

plot() command in load .sage script

Hi experts!!

When i save a .sage script (like 'lalala.sage') with the next text:

var('x') f(x)=4*sin(x) plot(f,(x,-3,3))

and then, in SAGE, i put

load('lalala.sage')

there doesn't appears the graph of the f(x), but if i put in SAGE (after load 'lalala.sage'):

plot(f,(x,-3,3))

then the graph of f(x) appears

The question is: Why doesn't appears the graph of f(x) when i load the scipt 'lalala.sage'?

Thanks so much!!

Best regards

plot() command in load .sage script

Hi experts!!

When i save a .sage script (like 'lalala.sage') with the next text:

var('x')
f(x)=4*sin(x)
plot(f,(x,-3,3))

plot(f,(x,-3,3))

and then, in SAGE, i put

load('lalala.sage')

load('lalala.sage')

there doesn't appears the graph of the f(x), but if i put in SAGE (after load 'lalala.sage'):

plot(f,(x,-3,3))

plot(f,(x,-3,3))

then the graph of f(x) appears

The question is: Why doesn't appears the graph of f(x) when i load the scipt 'lalala.sage'?

Thanks so much!!

Best regards

click to hide/show revision 3
retagged

plot() command in load .sage script

Hi experts!!

When i save a .sage script (like 'lalala.sage') with the next text:

var('x')
f(x)=4*sin(x)
plot(f,(x,-3,3))

and then, in SAGE, i put

load('lalala.sage')

there doesn't appears the graph of the f(x), but if i put in SAGE (after load 'lalala.sage'):

plot(f,(x,-3,3))

then the graph of f(x) appears

The question is: Why doesn't appears the graph of f(x) when i load the scipt 'lalala.sage'?

Thanks so much!!

Best regards