Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread jaipur
Thanks for all. I understand correct way to zoom in.

Then I have one more question.
At my first question, I found vacant holes appear when zooming in.
Why do these holes appear and how can we zoom in without such holes? Shall I
treat some properties of axes or figure?




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


Re: [Scilab-users] CLR design component is not clear in scilab 6.0.2 x64 W10

2019-11-09 Thread Samuel Gougeon

Le 31/10/2019 à 00:15, Samuel Gougeon a écrit :

.../...

It would be /v//ery/ hard (and easily prone to errors, due to many 
specific cases, using parentheses, etc) to parse the input to detect 
all possible cases (1-char symbols, multiple-char symbols, literal 
numbers with or without exponential notations, real or complex, etc) 
and adapt the multiplication symbol accordingly.




Actually, the detection of multiple cases is doable. There are not so many.
Example:



Here is the list of tested cases, with an arbitrary number of spaces 
before and after *:


1.23* 3.32x
1.23* -3.32   x  
var* -1.23x
)* -1.23  x  
var * 1.23  cdot

var* var   cdot
)* 1.23cdot
All other cases => small space \, , noticeably:
1.23* (-3.32\,
1.23* var  \,
var* (...  \,
)* var \,
)*(   \,

When a literal number ends with a point, like "3.", it still works, as 
with "3".


Unless there are some final remarks, i will push this on review on the 
forge for the

CLR, DLR, EXPRESSION and scifunc_block_m blocks interfaces.

Regards

Samuel

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


Re: [Scilab-users] example of library

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 06:13, Federico Miyara a écrit :


Dear all,

I could finally work it out: The function

librarieslist()

provides a list of Scilab libraries, and the elementary function 
library is called


elementary_functionslib

instead of

elementary_functionlib

There is a typo in the example (a plural is missing)--thrice!. That's 
why the example didn't work!


Somebody told me I could edit the documentation by myself. I need some 
permission? How I can get access to edit the help pages?


 * login on the CodeReview portal, with your usual (Bugzilla) Scilab
   login and password:
   https://codereview.scilab.org => Sign in, in the top right
 * Contribute to an existing commit, just through the web interface.

Creating new commits and managing them is (quite) more complicated (at 
least it was, for me).
But many contributions are possible directly with the web interface, 
without knowing GIT,

including editing files.

Regards
Samuel

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


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

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 14:19, jaipur a écrit :

Dear all

When making a polygon by xpoly for example, can we set transparency effect
as the following polygon?

No, AFAIK it is not properly possible.
There is just the *gcf().**pixel_drawing_mode property*, but it's a 
global one for the whole figure,

and it is not easy to manage. This way is rather a hack.
help.scilab.org/docs/6.0.2/en_US/pixel_drawing_mode.html



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


Re: [Scilab-users] fill the area between two curves with a colour?

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 14:56, Heinz Nabielek a écrit :

Is there a way, to fill the area between two 2d-curves with a colour?
Please stop hijacking an existing thread with a new topic. Open a fresh 
thread.

Thanks

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


Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread Chin Luh Tan
Hi,



Thanks samuel for pointing out the ALT key. 



Another way of zooming in with certain point as the center is to point your 
mouse cursor to the location you want to show all time, (for e.g ur case, the 
peak), and only then you scroll the mouse wheel.





rgds,

CL






 On Sat, 09 Nov 2019 21:59:48 +0800 jaipur  wrote 



Thank you very much, Mr. Samuel GOUGEON. 
 
I understand both ways of ALT key pressed pan and 3D selection zoom. 
 
Best 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 zoom in correctly

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 14:59, jaipur a écrit :

Thank you very much, Mr. Samuel GOUGEON.

I understand both ways of ALT key pressed pan and 3D selection zoom.



You can do the same with the *gca().zoom_box* property.
About it: Beware that the order of entries is not regular:

As documented, the correct setting is|
[xmin,ymin, xmax,ymax, zmin,zmax]

NOT
||
[xmin,ymin,zmin, xmax,ymax,zmax]

NOR
|||[xmin,xmax, ymin,ymax, zmin,zmax]
| |
as we could have expected, but that do not do what we want.


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


Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread jaipur
Thank you very much, Mr. Samuel GOUGEON.

I understand both ways of ALT key pressed pan and 3D selection zoom.

Best regards,
Hiroshi Tachihara




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


[Scilab-users] fill the area between two curves with a colour?

2019-11-09 Thread Heinz Nabielek
Is there a way, to fill the area between two 2d-curves with a colour?

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


Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread jaipur
Yes,  I know the way of holding left mouse button and move.
But it works just after some activity of zooming in. When making first
zooming in, vacant hole appears on the top of hill.
In order to keep the top of hill (the point I want to zoom in) within the
image, I may have to set up some properties of axes. However, I don't know
that way.

H.T.




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


Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 14:22, Chin Luh Tan a écrit :

have u tried "pan down"? hold left mouse button and move the mouse.



Yes, but the ALT key (as ALTitude) must be pressed (this is not documented).

It is also possible to use the 3D selection zoom:


Regards


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


Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread Chin Luh Tan
have u tried "pan down"? hold left mouse button and move the mouse.



rgds,

CL


 On Sat, 09 Nov 2019 20:59:35 +0800 jaipur  wrote 


I'm looking forward to your suggestion. 
 
After drawing 3D image, you can zoom in by using mouse wheel. 
 
When I draw plot3d and want to zoom in at the top of hill, for example, 
mouse wheel result in vacant hole as the following image. 
Could someone suggest how to zoom in at the desired point of a image? Shall 
I treat properties of axes? 
 
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] How to create transparent polygon

2019-11-09 Thread jaipur
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
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] How to zoom in correctly

2019-11-09 Thread jaipur
I'm looking forward to your suggestion.

After drawing 3D image, you can zoom in by using mouse wheel.

When I draw plot3d and want to zoom in at the top of hill, for example,
mouse wheel result in vacant hole as the following image.
Could someone suggest how to zoom in at the desired point of a image? Shall
I treat properties of axes?

Regards
Hiroshi Tachihara


 
 



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


Re: [Scilab-users] mtlb_sparse and "Matlab sparse" type 7

2019-11-09 Thread Samuel Gougeon

Le 09/11/2019 à 08:23, Federico Miyara a écrit :


Dear all,

Is the function mtlb_sparse still supported?

I try to run the example in the documentation

https://help.scilab.org/docs/6.0.2/en_US/mtlb_sparse.html

and I get an error:

Undefined variable: mtlb_sparse


http://bugzilla.scilab.org/14477




Is there another way to generate a type 7 variable?



This type is one of the misteries of Scilab.
May be it was created before that loadmatfile() and savematfile() were 
available.


Now that both of these functions exist, any required conversion of 
sparse matrix is automatically done through them.


IMHO this data type is obsolete and should be properly and completely 
removed, as you have also mentionned it in the Bugzilla thread.


Thanks for having put this topic on the public place.

Regards
Samuel

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