question batch and plot



Hallo,

I am a beginner with maxima and I would like to do some longer engineering calculations. Therefore it would be nice to have a batch file with input command, that maxima reads in sequentially and returns the value.

A very simple thing would be:
Maxima alwas produces an error when reading this. Even when I try to make outputs with the plot function...

test():=
block([x,y],
eq1:x^2+3*x+1,
solve(eq1,x),
plot2d(eq1,[x,0,3]),
);

Could anyone tell me how to solve the problem?

A second thing is the plot command. How can I label the x and y axis?
For example:
plot2d([sigmax, tau1],[z,0,3*a],[gnuplot_curve_titles,["title'sigma_x'",
"title'tau1'"]]);

Here would the axis label be nice.

Thanks a lot for your help

Christian
-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer