[Scilab-users] Scrollbar in figures

classic Classic list List threaded Threaded
11 messages Options
BBoillot BBoillot
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Scrollbar in figures

Hello,

 

Is there a way in 6.0 to get a scrollbar in a figure when the axes_size is greater than the figure_size, the same way it used to be in 5.3.3 (auto_resize = “off”).

 

Thank you

 

Baptiste BOILLOT

 


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Hello Baptiste,

Le 20/12/2017 à 16:50, Boillot, Baptiste (GE Renewable Energy) a écrit :

Hello,

 

Is there a way in 6.0 to get a scrollbar in a figure when the axes_size is greater than the figure_size, the same way it used to be in 5.3.3 (auto_resize = “off”).


On Windows_x64, we get them as expected:




_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
BBoillot BBoillot
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Hello Samuel,

Would you have the code behind this figure please, to see what I'm doing
wrong?

Thank you very much.

B.



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant-2 Antoine Monmayrant-2
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

In reply to this post by Samuel GOUGEON
Well, I don't get this behaviour on linux, even with 5.5.2:

h=scf();
plot()
h.auto_resize="off";
//hand resizing of the figure to [100,100]
// cf attached fig.png

Antoine



Le 20/12/2017 à 20:36, Samuel Gougeon a écrit :
Hello Baptiste,

Le 20/12/2017 à 16:50, Boillot, Baptiste (GE Renewable Energy) a écrit :

Hello,

 

Is there a way in 6.0 to get a scrollbar in a figure when the axes_size is greater than the figure_size, the same way it used to be in 5.3.3 (auto_resize = “off”).


On Windows_x64, we get them as expected:





_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
 
 email : [hidden email]
 permanent email : [hidden email]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

fig.png (15K) Download Attachment
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

In reply to this post by BBoillot
Hello Baptiste, Antoine,

I have used exactly the code and protocole posted by Antoine afterwards.
Are you using Scilab on Linux, like Antoine? In this case, it is clearly a bug specific on Linux.

There are other bugs around .auto_resize (and .viewport), brought by Scilab 5.4.0 and still unfixed:
http://bugzilla.scilab.org/14650
http://bugzilla.scilab.org/14693

Samuel
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
BBoillot BBoillot
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Hi Antoine, and Samuel,

I'm on Windows 7 and still having the same issue using the same code as you
guys.

<http://mailinglists.scilab.org/file/t497398/Capture.gif>



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Aa, i get it as well!

Actually, it works as i reported it only for the first run from a fresh Scilab session.
Then, forthcoming tests with exactly the same code and in a fresh figure shows the bug as you report it...

Samuel

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant-2 Antoine Monmayrant-2
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Le 21/12/2017 à 15:29, [hidden email] a écrit :
> Aa, i get it as well!
>
> Actually, it works as i reported it only for the first run from a fresh Scilab session.
> Then, forthcoming tests with exactly the same code and in a fresh figure shows the bug as you report it...
Ah, OK, so bug report?

Antoine
>
> Samuel
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
>

--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Antoine Monmayrant LAAS - CNRS
  7 avenue du Colonel Roche
  BP 54200
  31031 TOULOUSE Cedex 4
  FRANCE

  Tel:+33 5 61 33 64 59
 
  email : [hidden email]
  permanent email : [hidden email]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
BBoillot BBoillot
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

Yes that's it. Got it to work once. Are you filing the bug report Samuel or
do you need me to do it?



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

>Yes that's it. Got it to work once. Are you filing the bug report Samuel or
>do you need me to do it?

Yes please, i let you doing it, as you reported it here.
Thanks
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
BBoillot BBoillot
Reply | Threaded
Open this post in threaded view
|

Re: Scrollbar in figures

I added a comment to

http://bugzilla.scilab.org/show_bug.cgi?id=13657#c3

as it reports quite the same bug.

Is it enough or do you think it would be better to file a new bug?



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users