[Scilab-users] Strange list error

2014-01-25 Thread Stefan Du Rietz

Hi all,
one of my functions suddenly stopped working. During my effort to find 
the error by running the commands from the command window, I 
experienced this:


-1-args(1) = null();
args(1) = null();
 !--error 44
Wrong argument #2.

and when I checked:
-1-typeof(args)
 ans  =
 list

Can anybody explain that?

Regards
Stefan
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Strange list error

2014-01-25 Thread Stefan Du Rietz

I found out what the error was: I had a line

  if exists(bolus) then

that became true when I had this variable in the workspace, which I 
never had before.


I changed it to

  if exists(bolus, l) then

and it worked again.

But I still wonder: why the error 44?

Stefan

On 2014-01-25 18:32, Stefan Du Rietz wrote:


Hi all,
one of my functions suddenly stopped working. During my effort to find
the error by running the commands from the command window, I
experienced this:

-1-args(1) = null();
args(1) = null();
  !--error 44
Wrong argument #2.

and when I checked:
-1-typeof(args)
  ans  =
  list

Can anybody explain that?

Regards
Stefan
___
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


Re: [Scilab-users] higher resolution

2014-01-25 Thread Adrien Vogt-Schilb

On 25/01/2014 20:12, Ryan M. Castle wrote:

Hello. I am writing a textbook and trying to create some of the needed plots in 
Scilab. Is it possible to increase the resolution from the default?

TIA 
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

have you tried exporting the plots in a vectorial format?

you can use driver or xs2pdf, xs2eps and other functions.

You can also resize your plots before exporting them in png.

Hope this helps

-- Adrien Vogt-Schilb PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] higher resolution

2014-01-25 Thread Claus Futtrup

Hi Ryan

I have successfully created graphics in Scilab, saved as SVG, edited 
with InkScape (which is an SVG Editor).


/Claus

On 1/25/2014 20:12, Ryan M. Castle wrote:

Hello. I am writing a textbook and trying to create some of the needed plots in 
Scilab. Is it possible to increase the resolution from the default?

TIA 
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
.




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users