hi Samuel ..
I think there's a misunderstanding in my questioning... I'm wondering
why this code works (under Scilab 5.5.2 at least) i.e. why I can plot
several points
Paul
Le 2016-12-20 22:10, Samuel Gougeon a écrit :
> Hello Paul,
>
> Le 20/12/2016 21:45, paul.carr...@free.fr a écrit :
>
>> ###############################################"
>>
>> mode(0)
>>
>> f = scf(0);
>> e = uicontrol(f, "style", "edit", ...
>> "position", [0 0 100 20]);
>> t = uicontrol(f, "style", "text", ...
>> "position", [200 0 100 20], ...
>> "string", "...");
>> b = uicontrol(f, "style", "pushbutton", ...
>> "string", "$x^2$",...
>> "position", [100 0 100 20], ...
>> "callback", "x = evstr(e.string);...
>> y = x^2;...
>> t.string = string(y);...
>> plot2d(x, y, style = -1);");
> I get
> --> b = uicontrol(f, "style", "pushbutton", ...
>> "string", "$x^2$",...
>> "position", [100 0 100 20], ...
>> "callback", "x = evstr(e.string);...
> "callback", "x = evstr(e.string);...
> ^^
> Error: Unexpected end of file in a string.
>
> You can't break a string in this way, but with
> "my string and "+..
> "my text"
> _______________________________________________
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users