From: Adeline CARNIS Date: Thu, 3 Apr 2014 09:09:29 +0000 (+0200) Subject: Update paramfplot2d help page. Warning message appeared: Syntax 'vector ^ scalar... X-Git-Tag: 5.5.0~74 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=505928687d5cd30638d9f0c626e23a8a30caca6a;hp=45fa9ef8475d55724ee55459b2289d8cf865ad8a Update paramfplot2d help page. Warning message appeared: Syntax 'vector ^ scalar' is obsolete. Change-Id: I1c6640df79318b050ffe889de1e24548945abdc8 --- diff --git a/scilab/modules/graphics/help/en_US/2d_plot/paramfplot2d.xml b/scilab/modules/graphics/help/en_US/2d_plot/paramfplot2d.xml index 63d514a..ef42890 100644 --- a/scilab/modules/graphics/help/en_US/2d_plot/paramfplot2d.xml +++ b/scilab/modules/graphics/help/en_US/2d_plot/paramfplot2d.xml @@ -94,7 +94,7 @@ function V=twosoliton(x,t) f1=exp(-a1*(x-s1-v1*t)); f2=exp(-a2*(x-s2-v2*t)); r=((a2-1)/(a2+a1))^2; - V=2*(v1*f1+v2*f2+2*(a2-a1)^2*f1.*f2+r*(v2*(f1^2).*f2+v1*f1.*(f2^2)))./((1+f1+f2+r*f1.*f2)^2); + V=2*(v1*f1+v2*f2+2*(a2-a1)^2*f1.*f2+r*(v2*(f1.^2).*f2+v1*f1.*(f2.^2)))./((1+f1+f2+r*f1.*f2).^2); endfunction x=linspace(1,100,3000); clf;paramfplot2d(twosoliton,x,0:0.05:3);