Page 1 sur 1

plotfunc & xstep

Publié : mar. févr. 04, 2014 10:05 am
par yvand
L'instruction suivante bugge :

Code : Tout sélectionner

plotfunc([-2*x+1,x^2-2],x=-2..2,color=[red,yellow],xstep=0.2)
Cela est tiré d'un exemple pour la fonction plotfunc (aide_cas).

Re: plotfunc & xstep

Publié : mar. févr. 04, 2014 12:36 pm
par parisse
Correction prevue pour la prochaine mise a jour:

Code : Tout sélectionner

diff plot.cc plot.cc~
1680c1680
<       newsyntax=readrange(e1,gnuplot_xmin,gnuplot_xmax,e1,xmin,xmax,contextptr) && (is_equal(vargs[1]) || s<4);
---
>       newsyntax=readrange(e1,gnuplot_xmin,gnuplot_xmax,e1,xmin,xmax,contextptr) && (is_equal(e1) || s<4);
en esperant que ca ne genere pas d'effets de bord!