[Scilab-users] animaGIF 1.0 is released

2019-07-22 Thread Samuel Gougeon

Hello,

I am glad to announce the first release of the animaGIF package :
https://atoms.scilab.org/toolboxes/animaGIF

animaGIF() aims to be a stand-alone function (no thirdparty), easy to 
use and easy to maintain

(no hard code to recompile from a Scilab version to next ones).

It is fully documented (with animated examples displayed in the Scilab 
help :-)


Enjoy.
Samuel

PS : Scilab pointers about the topic :
http://bugzilla.scilab.org/5569
http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tt4032828.html#a4032836
http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tp4032841p4032845.html

---


 animated GIF creator

stand-alone creation of an animated GIF image from images files or from 
a live figure


Description :

animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly
from a live graphical figure.

It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty
application (like ImageMagic or Gimp, etc) is required.

SYNTAXES

animaGIF(filemask, outgif)
animaGIF(imagefiles, outgif)
animaGIF(.., delay)
animaGIF(.., delay, loops)

idGif = animaGIF(idFig, outgif) // opens the GIF stream
idGif = animaGIF(idFig, outgif, delay)
idGif = animaGIF(idFig, outgif, delay, loops)
idGif = animaGIF(idFig, idGif)  // adds a snapshot of the figure
animaGIF(idGif) // closes the GIF stream

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


Re: [Scilab-users] Still available memory on the Java heap

2019-07-22 Thread Samuel Gougeon

Hello Clément,

Le 22/07/2019 à 16:01, Clément David a écrit :

Hello Samuel,

You can get memory information from the JVM using JIMS:

--> jimport java.lang.Runtime

--> Runtime.getRuntime().totalMemory()
  ans  =

   249036800


--> Runtime.getRuntime().freeMemory()
  ans  =

   175335480


Excellent!
Thanks a lot.

Samuel

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


Re: [Scilab-users] Still available memory on the Java heap

2019-07-22 Thread Clément David
Hello Samuel,

You can get memory information from the JVM using JIMS:

--> jimport java.lang.Runtime

--> Runtime.getRuntime().totalMemory()
 ans  =

  249036800


--> Runtime.getRuntime().freeMemory()
 ans  =

  175335480

Regards,

--
Clément DAVID

> -Original Message-
> From: users  On Behalf Of Samuel Gougeon
> Sent: Thursday, July 18, 2019 11:21 AM
> To: International users mailing list for Scilab. 
> Subject: [Scilab-users] Still available memory on the Java heap
> 
> Hello,
> 
> Is there a way equivalent to getmemory() to get the free memory on the
> reserved Scilab java heap?
> 
> xmlGetValues() can be used to get the total reserved java heap amount, but i
> would need to know the still free not yet used memory.
> 
> Thanks
> Samuel
> 
> ___
> 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] Transition from Xcos 5.5 to 6.0

2019-07-22 Thread Clément David
Hello,

As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an 
issue within the zcos files you use. Could you please send these files (or 
report a bug and attach them) to check?

A potential issue might come from encoding, another by misrepresenting the 
diagram hierarchy (setting the wrong diagram root for exemple).

--
Clément

> -Original Message-
> From: users  On Behalf Of davegutz
> Sent: Tuesday, July 16, 2019 10:18 PM
> To: users@lists.scilab.org
> Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0
> 
> Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages.
> 
> There are no special import functions I can find in the 6.0 help. There are no
> white papers I've found yet on the scilab website. I suspect that since
> 6.0 was a substantial rewrite that we need to substantially redraw our xcos
> diagrams to move from 5.5 to 6.0? Can anybody confirm?
> 
> I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block 
> diagrams
> and connectors. It is happily opened by v6.0.2 but it is blank except from 
> some
> annotations that got carried over.
> 
> I need a clue.
> 
> Thank you for your time.   Dave
> 
> 
> 
> --
> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-
> f2602246.html
> ___
> 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