wxplot2d



Jaime Villate <villate <at> fe.up.pt> writes:


> without knowing how s[1] was defined it's hard to answer, but I'd guess
> you should replace any ocurrences of t by t*1e-6 and then use the interval
> [t, 0, 8] instead of [t, 0, 8e-6].



Thanks Jaime,

my inputs are
--------------------------------------

eq_1:'diff(v(t),t)=-i(t)/C-v(t)/(R*C)$
eq_2:'diff(i(t),t)=-i(t)*R/L+v(t)/L$
[R,L,C,v0,i0]:[2,1e-6,1e-6,20,10] $
atvalue(v(t),t=0,v0) $
atvalue(i(t),t=0,i0) $
s:desolve([eq_1,eq_2],[v(t),i(t)]),expand,numer;

wxplot2d([rhs(s[1])],[t,0,8e-6],[legend,"v(t)","i(t)"],
[gnuplot_preamble,"set grid"],[xlabel,"t / us"]);

--------------------------------------

and I'd like to know if there was a way to modify just wxplot2d parameters.

Regards
Renzo