Question: Exporting Graphs from Terminal/Command Line when read from .txt file

Hi,

     So I'm having a little trouble with command-line Maple 16 on Ubuntu 12.04, 64-bit.  I can enter the commands

plotsetup(gif, plotoutput="testing.gif");
plot3d(sin(x)*exp(y), x=0..5,y =0..5):

and a .gif file will be created with the graph. However, if I save this as a text file "testing.txt" and run it via the terminal command

maple testing.txt

it does not save the graph. Any idea why this is?

So far I've tried
1) specifying path more, "/home/user/Documents/graph.gif" etc...
2) .ps files, .jpeg, .gif files
3) using the GUI xmaple ... it saves them fine
4) saving as .mpl file instead of .txt
5) making sure I have root access

Thanks!

 

Please Wait...