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

2020-10-07 Thread Antoine Monmayrant


Le 07/10/2020 à 04:24, jaipur a écrit :

Hello,

Following your suggestion, gce().clip_state = 'off' could succeed zoom in.

While I continue to zoom in to watch the detail of a hill top, the top is
clipped by another something.
Could someone teach me the cause of this clipping and how to avoid it?




Hello,

It seems that you are zooming in both x,y and z.
The clipping you see for the hill (and similarly for the valley in the 
upper left corner is likely due to your curve going beyond the zoomed z 
axis.


Zooming in 3D on a 2D screen is not that straight forward.
As a text-based alternative, you can try to set gca().data_bounds by hand.

Antoine




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


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

2020-10-06 Thread jaipur
Hello,

Following your suggestion, gce().clip_state = 'off' could succeed zoom in.

While I continue to zoom in to watch the detail of a hill top, the top is
clipped by another something.
Could someone teach me the cause of this clipping and how to avoid it?

 



--
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-10 Thread jaipur
I understand that the handle of which property of 'clip_state ' have to be
set to 'off' is gce(), not gca()!!!

Thanks a lot a lot a lot.




--
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-10 Thread Samuel Gougeon

Le 10/11/2019 à 13:46, jaipur a écrit :

I would like to say that I expected a plot3d image expands with automatic
expansion of x-, y- and z-axes during zooming in by wheel. However, axes box
size actually does not expand and x-, y-, z-ticks just move within the box.
This reached to the result that axes box size is unchanged and a plot3d
image is clipped at the boundaries as holes.

To avoid this clip and let whole image of plot3d expand, shall I change some
property of axes concerning clipping and so on?



gce().clip_state = "off";


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


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

2019-11-10 Thread jaipur
I would like to say that I expected a plot3d image expands with automatic
expansion of x-, y- and z-axes during zooming in by wheel. However, axes box
size actually does not expand and x-, y-, z-ticks just move within the box.
This reached to the result that axes box size is unchanged and a plot3d
image is clipped at the boundaries as holes.

To avoid this clip and let whole image of plot3d expand, shall I change some
property of axes concerning clipping and so on?



--
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-10 Thread Samuel Gougeon

Le 10/11/2019 à 06:36, jaipur a écrit :

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?



The surface is hollow, and any part of a graphic beyond the axes bounds 
is clipped.
Do you mean you are looking for filling the flat ceiling and flooring 
parts with some opaque paint?

If so, AFAIK there is no way to do this.

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


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