Ask Your Question

# Revision history [back]

### 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

 2 No.2 Revision tmonteil 19473 ●22 ●139 ●363 http://wiki.sagemath.o...

### 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

 3 retagged FrédéricC 2341 ●3 ●27 ●47

### 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