Try:
plot2d([parametric,x, y,[s,0,1]],[gnuplot_preamble,"set dummy s"]);
and see if that works.
-Alasdair
On 4/4/07, Zoho Vignochi <zoho.vignochi at gmail.com> wrote:
>
> Hello,
>
> I have a problem where have two expressions which depend on a variable
> and I would like to plot the two but my syntax is incorrect. So I have
>
> x:sum(ratcoef(cospsi,c,2*i)*integrate(cos(m*%pi*s)^(2*i),s),i,0,n),
> y:sum(ratcoef(sinpsi,c,2*i+1)*integrate(cos(m*%pi*s)^(2*i+1),s),i,0,n),
>
> which gives
>
> (%i6) x;
> (%o6) [(sin(4*%pi*s)+8*sin(2*%pi*s)+12*%pi*s)/(512*%pi)-(sin(2*%pi*s)+2*
> %pi*s)/(8*%pi)+s]
> (%i7) y;
> (%o7) [(3*sin(5*%pi*s)+25*sin(3*%pi*s)+150*sin(%pi*s))/(12288*%
> pi)-(193*(sin(3*%pi*s)+9*sin(%pi*s)))/(12288*%pi)+sin(%pi*s)/%pi]
>
> I have tried
>
> plot2d([parametric,x, y,[s,0,1]])
>
> but I get an error saying
>
> Unknown plot option specified: s
>
> Suggestions?
>
> Zoho
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>