Re: [Scilab-users] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
the previous method is the implementation as suggested by Samuel, another 
approach would be using Matplot.



you could play with the last line obj1 and obj2 (alpha blending) to get the 
desired intersection color. 


x = zeros(100,100,3);

obj1 = x;
obj2 = x;

obj1(21:60,21:60) = 1;
obj1(:,:,2:3) = 0;

obj2(41:80,41:80,2) = 1;
obj2(:,:,[1,3]) = 0;

Matplot(obj1+obj2)







 On Tue, 12 Nov 2019 11:39:38 +0800 Chin Luh Tan 
 wrote 


Hi,

If it is not necessary to have real transparent color mixing, but just want to 
have the transparent effect, you could try to play with the 
"pixel_drawing_mode". 
f = figure("background", 1,"pixel_drawing_mode", "or");
plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);

x=sin(2*%pi*(0:4)/5);
y=cos(2*%pi*(0:4)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);
gca().foreground = 12;
xfpoly(x,y);
gca().foreground = 27;
xfpoly(x+0.3,y+0.3)






example from https://help.scilab.org/docs/6.0.2/en_US/pixel_drawing_mode.html

rgds,
CL


 On Sat, 09 Nov 2019 21:19:44 +0800 jaipur  wrote 











___ 
users mailing list 
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users 
Dear all 
 
When making a polygon by xpoly for example, can we set transparency effect 
as the following polygon? 
If it's possible, could you suggest the way of doing? 
 
Regards 
Hiroshi Tachihara 
 
 
 
 
 
-- 
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
 
___ 
users mailing list 
mailto: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] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
Hi,

If it is not necessary to have real transparent color mixing, but just want to 
have the transparent effect, you could try to play with the 
"pixel_drawing_mode". 
f = figure("background", 1,"pixel_drawing_mode", "or");
plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);

x=sin(2*%pi*(0:4)/5);
y=cos(2*%pi*(0:4)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);
gca().foreground = 12;
xfpoly(x,y);
gca().foreground = 27;
xfpoly(x+0.3,y+0.3)






example from https://help.scilab.org/docs/6.0.2/en_US/pixel_drawing_mode.html

rgds,
CL


 On Sat, 09 Nov 2019 21:19:44 +0800 jaipur  wrote 



Dear all 
 
When making a polygon by xpoly for example, can we set transparency effect 
as the following polygon? 
If it's possible, could you suggest the way of doing? 
 
Regards 
Hiroshi Tachihara 
 
 
 
 
 
-- 
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
 
___ 
users mailing list 
mailto: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


[Scilab-users] Good Practices for Sending to Scilab Mailer

2019-11-11 Thread Chin Luh Tan
Hi, 



Just some opinions after Samuel bringing out the issue of maintaining nice 
threads in Scilab mailer, perhaps a few simple guideline for our own reminder 
will keep the Scilab Mailer clean and useful for others to search.



1. When posting a new topic, never use any other existing email and click 
reply, then edit the contents and subject. In this case the new topic will hide 
under the existing thread.  



 

*Image from Samuel previous email.









2. Another precaution to be taken is trying not to create a new thread with 
similar topic, by copy and paste the subject to a new email. It will split the 
conversation into multiple threads. 



feel free to add any comments on this.



rgds,
CL___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
Thanks Samuel for pointing this out. yes, you're right, if we've group the 
email, it will be the same as the one seen in the link, unless we've chosen the 
"Flatten" view in the email client. 



We shall open another new thread on this discussion or else it will not match 
the subject again. :)





rgds,

CL


 On Tue, 12 Nov 2019 03:39:01 +0800 Samuel Gougeon  wrote 




Le 11/11/2019 à 18:01, Chin Luh Tan a
  écrit :

Hi, 



I just aware that Samuel has pointed out about the
  "hijacking" a thread, in fact, this topic was hijacked from
  the original topic "[Scilab-users] lincos instruction :
  example file pendulum_anim45.zcos is corrupted - Buggzilla
  16221" .



Look at this link:



http://mailinglists.scilab.org/Scilab-users-lincos-instruction-example-file-pendulum-anim45-zcos-is-corrupted-Buggzilla-16221-tc4039887.html



We would not able to see the topic on MacOS but instead, it
  is hiding under the lincos topic. 



How it happens? 



I think a lot of time when we wanted to post to the user
  list, we just simple open one email, and the click reply,
  delete the contents and put in new subjects, and this is how
  we hijacked a topic. So the original topic looks very active,
  but it was talking about something else. 



>From email, it looks ok,



Thank you, Chin Luh.

It's the same issue with emails, if the mailer is set to thread
  mails (i could not work without this feature. Who could?).
 If a hijacked thread is folded, the hijacking discussion becomes
  completely hidden.




Regards
 




___

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] Bug scilab-6 libjava.so

2019-11-11 Thread Chin Luh Tan
Hi, 



A few suggestion to try out:



1. Try to locate the libjava.so to see whether java is install. if you, u could 
try to temporary set the JAVA_HOME and try to run scilab again



e.g.: 



$ locate libjava.so 

or

$ update-java-alternatives -l



and then



$ export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"   <-- use the path 
obtained from above

$ scilab

or

$ SCIPATH/scilab





2. If the installed java does not works, try to install the openjdk-11 jre

$ sudo apt-get install openjdk-11-jre



repeat the export and run the scilab again.



If it works, u could set the JAVA_HOME path at .bashrc to make it permanent



Hope this helps.



rgds,
CL 









 On Mon, 11 Nov 2019 08:22:40 +0800 Domec Jean Louis  
wrote 



Hello,

I just begin with this list.

I have a  problem with scilab6:

On different PC 64bits, i boot with knoppix-8.6

It uses → Linux kernel 5.2.5 and Xorg 7.7 (core 1.20.4) for supporting 
current computer hardware.

Whem i start scilab-6.02 (installed by 
scilab-6.0.2.bin.linux-x86_64.tar.gz ):

/usr/bin/scilab-bin: error while loading shared libraries: libjava.so: 
cannot open shared object file: No such file or directory

Have you an idea to solve this problem ?

Thank you

-- 

Jean-louis Domec
 Professeur de Physique appliquée
 domecCHEZac-bordeaux.fr
 Laboratoire de Physique Appliquée:
 Tel 0559282228 poste 314
 Fax: 0559280631
 Lycée du Pays de Soule - Chéraute (64)
 
 Courrier réalisé avec le Logiciel Libre Mozilla .
 Sous le Système d'exploitation Libre, Linux Mandriva 2008
 
 Logiciels libres: Le partage des connaissances
 http://www.april.org/
 http://www.ofset.org


___
users mailing list
mailto: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] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Samuel Gougeon

Le 11/11/2019 à 18:01, Chin Luh Tan a écrit :

Hi,

I just aware that Samuel has pointed out about the "hijacking" a 
thread, in fact, this topic was hijacked from the original topic 
"[Scilab-users] lincos instruction : example file pendulum_anim45.zcos 
is corrupted - Buggzilla 16221" .


Look at this link:

http://mailinglists.scilab.org/Scilab-users-lincos-instruction-example-file-pendulum-anim45-zcos-is-corrupted-Buggzilla-16221-tc4039887.html

We would not able to see the topic on MacOS but instead, it is hiding 
under the lincos topic.


How it happens?

I think a lot of time when we wanted to post to the user list, we just 
simple open one email, and the click reply, delete the contents and 
put in new subjects, and this is how we hijacked a topic. So the 
original topic looks very active, but it was talking about something 
else.


From email, it looks ok,


Thank you, Chin Luh.

It's the same issue with emails, if the mailer is set to thread mails (i 
could not work without this feature. Who could?).
If a hijacked thread is folded, the hijacking discussion becomes 
completely hidden.



Regards


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


Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
correction, i meant, this topic had hijacked the topic "[Scilab-users] lincos 
instruction : example file pendulum_anim45.zcos is corrupted - Buggzilla 16221" 
, not the other way. 

apologize to Pierre PERRICHON for hijacking your thread. :)

rgds,
CL

 On Tue, 12 Nov 2019 01:01:31 +0800 Chin Luh Tan 
 wrote 


Hi, 



I just aware that Samuel has pointed out about the "hijacking" a thread, in 
fact, this topic was hijacked from the original topic "[Scilab-users] lincos 
instruction : example file pendulum_anim45.zcos is corrupted - Buggzilla 16221" 
.



Look at this link:



http://mailinglists.scilab.org/Scilab-users-lincos-instruction-example-file-pendulum-anim45-zcos-is-corrupted-Buggzilla-16221-tc4039887.html



We would not able to see the topic on MacOS but instead, it is hiding under the 
lincos topic. 



How it happens? 



I think a lot of time when we wanted to post to the user list, we just simple 
open one email, and the click reply, delete the contents and put in new 
subjects, and this is how we hijacked a topic. So the original topic looks very 
active, but it was talking about something else. 



>From email, it looks ok, but if you refer to the link above, we can see the 
>problem.



I've to admit that I've done that before as well. :)



What's the impact?



The thread become very messy and misleading for future reference.



So to avoid this happen again, click on new email and sent to the user list, it 
will create a new thread. 



I've create a new thread for this MacOS case, please reply to this thread for 
only this topic. :)



Thanks everyone.



Regards,

CL




___ 
users mailing list 
mailto: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


[Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
Hi, 



I just aware that Samuel has pointed out about the "hijacking" a thread, in 
fact, this topic was hijacked from the original topic "[Scilab-users] lincos 
instruction : example file pendulum_anim45.zcos is corrupted - Buggzilla 16221" 
.



Look at this link:



http://mailinglists.scilab.org/Scilab-users-lincos-instruction-example-file-pendulum-anim45-zcos-is-corrupted-Buggzilla-16221-tc4039887.html



We would not able to see the topic on MacOS but instead, it is hiding under the 
lincos topic. 


How it happens? 



I think a lot of time when we wanted to post to the user list, we just simple 
open one email, and the click reply, delete the contents and put in new 
subjects, and this is how we hijacked a topic. So the original topic looks very 
active, but it was talking about something else. 



>From email, it looks ok, but if you refer to the link above, we can see the 
>problem.



I've to admit that I've done that before as well. :)



What's the impact?



The thread become very messy and misleading for future reference.


So to avoid this happen again, click on new email and sent to the user list, it 
will create a new thread. 



I've create a new thread for this MacOS case, please reply to this thread for 
only this topic. :)



Thanks everyone.



Regards,

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


Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread knobs
Hi,

Great detective work. Thank you!

Sorry, I have been too busy to try out the new beta version (S.‘s dmg).

Will do this soon, probably on the weekend.

W.



--
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