<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Hi Philippe and Samuel,<div class=""><br class=""></div><div class=""> I experiment exactly the problem described by Philippe on my Mac (MacBook Pro Retina 13 pouces running MacOS Sierra 10.12.6) with Scilab 6.0</div><div class="">I wrote to the mailing list on the 10 mai 2017 about that :</div><div class=""><br class=""></div><div class="">—— begin quote</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Hi,<br class=""><br class="">My name is Philippe, I work in the field of physics and signal processing, I use scilab a lot in my work and I want to thanks very much all the the people involve in the development of this great software. <br class=""><br class=""> I updated my scilab to 6.0.0 two weeks ago on my power book (retina) running macOS 10.12.4. Since this time I experiment two problems with graphic figures. The first issue is that the thickness of the lines is really small and the text for the axis labels, curves label and title are almost unreadable (way smaller than in the preceding version). The second problem is about the zoom, when I try to zoom on a graphic figure using the rectangular selection with the mouse, I get an offset between the mouse pointer and the actual selection, making it impossible to correctly define de rectangular region. <br class=""><br class="">Is anybody else experimenting the same issues ? Does somebody have a fix or a workaround for that ?</div><div class="">— — end quote</div><div class=""><br class=""></div><div class="">So i’m glad to know that I’m not the only one who experiment this problem. In order to try to help I ran the following piece of code</div><div class=""><br class=""></div><div class=""><pre style="font-family: Monospaced;" class="">clf<span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(74,85,219);" class="">)</span>
<span style="color:rgb(50,185,185);" class="">plot2d</span><span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(188,143,143);" class="">0</span>,<span style="color:rgb(188,143,143);" class="">0</span>,rect<span style="color:rgb(92,92,92);" class="">=</span><span style="color:rgb(74,85,219);" class="">[</span><span style="color:rgb(188,143,143);" class="">0</span> <span style="color:rgb(188,143,143);" class="">0</span> <span style="color:rgb(188,143,143);" class="">1</span> <span style="color:rgb(188,143,143);" class="">1</span><span style="color:rgb(74,85,219);" class="">]</span><span style="color:rgb(74,85,219);" class="">)</span>
<span style="color:rgb(50,185,185);" class="">xgrid</span><span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(188,143,143);" class="">1</span><span style="color:rgb(74,85,219);" class="">)</span>
x<span style="color:rgb(92,92,92);" class="">=</span><span style="color:rgb(74,85,219);" class="">[</span><span style="color:rgb(74,85,219);" class="">]</span>;y<span style="color:rgb(92,92,92);" class="">=</span><span style="color:rgb(74,85,219);" class="">[</span><span style="color:rgb(74,85,219);" class="">]</span>
ibutton<span style="color:rgb(92,92,92);" class="">=</span><span style="color:rgb(188,143,143);" class="">0</span>
<span style="color:rgb(160,32,240);" class="">while</span> ibutton<span style="color:rgb(92,92,92);" class=""><></span><span style="color:rgb(188,143,143);" class="">5</span>
<span style="color:rgb(74,85,219);" class="">[</span>ibutton,xcoord,ycoord<span style="color:rgb(74,85,219);" class="">]</span><span style="color:rgb(92,92,92);" class="">=</span><span style="color:rgb(50,185,185);" class="">xclick</span><span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(74,85,219);" class="">)</span>
x<span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(255,170,0);" class="">$</span><span style="color:rgb(92,92,92);" class="">+</span><span style="color:rgb(188,143,143);" class="">1</span><span style="color:rgb(74,85,219);" class="">)</span><span style="color:rgb(92,92,92);" class="">=</span>xcoord
y<span style="color:rgb(74,85,219);" class="">(</span><span style="color:rgb(255,170,0);" class="">$</span><span style="color:rgb(92,92,92);" class="">+</span><span style="color:rgb(188,143,143);" class="">1</span><span style="color:rgb(74,85,219);" class="">)</span><span style="color:rgb(92,92,92);" class="">=</span>ycoord
plot<span style="color:rgb(74,85,219);" class="">(</span>x,y,<span style="color:rgb(188,143,143);" class="">'</span><span style="color:rgb(188,143,143);" class="">-o</span><span style="color:rgb(188,143,143);" class="">'</span><span style="color:rgb(74,85,219);" class="">)</span>
<span style="color:rgb(160,32,240);" class="">end</span></pre><div class="">(thank you Philippe) on my Mac and clic with the mouse on the point (1,0), (0.9,0.1), (0.8,0.2), (0.7,0.3), (0.6,0.4) and (0.5,0.5) which result to plot circles on points :</div></div><div class=""><div class="">x = </div><div class=""><br class=""></div><div class=""> 0.4169399</div><div class=""> 0.3666667</div><div class=""> 0.3163934</div><div class=""> 0.2661202</div><div class=""> 0.215847</div><div class=""> 0.1677596</div><div class=""> 0.1677596</div><div class=""> y = </div><div class=""><br class=""></div><div class=""> 0.5811594</div><div class=""> 0.6318841</div><div class=""> 0.6782609</div><div class=""> 0.7289855</div><div class=""> 0.7768116</div><div class=""> 0.8304348</div><div class=""> 0.8304348</div></div><div class=""><br class=""></div><div class="">you can download the png of the figure here : <a href="https://we.tl/VXmrnlsI2V" class="">https://we.tl/VXmrnlsI2V</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I take the opportunity to report again that this problem affect the interactive zooming in graphic windows and, I thing, is related to the fact that the graphics windows (with default settings) are almost unreadable on My MacBook Retina (very small window with thin lines and fonts). Those issues where new with version 6.0 I didn’t have those problems with the 5.5.2 version.</div><div class=""><br class=""></div><div class="">I hope it helps.</div><div class=""><br class=""></div><div class="">One more time thanks a lot to all the people working on the development of Scilab, it is a very powerful software that I use a lot.</div><div class=""><br class=""></div><div class="">Philippe.</div><div class=""><br class=""></div><div class=""> </div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">Le 28 oct. 2017 à 13:48, philippe <<a href="mailto:rouxph.22@gmail.com" class="">rouxph.22@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class="">Le 28/10/2017 à 12:45, Samuel Gougeon a écrit :<br class=""><blockquote type="cite" class="">[...]<br class="">Sorry: the clf() tells it (if it was /actually/ run): it was in a<br class="">(almost) fresh figure, not in a frame.<br class=""></blockquote><br class="">yes , the figure is cleared at begining, but the graphic windows can be<br class="">a new one (if no graphic window is already open) or an existing one<br class="">(perhaps already docked in scilab main window). Those different<br class="">configurations where tested by the student .<br class=""><br class=""><blockquote type="cite" class=""><br class="">The clf page <a href="https://help.scilab.org/docs/6.0.0/en_US/clf.html" class="">https://help.scilab.org/docs/6.0.0/en_US/clf.html</a> misses<br class="">telling that uicontrols are cleared as well, including frames (i guess).<br class=""></blockquote><br class="">I don't understand the link between this bug and uicontrols .<br class=""><br class="">Philippe<br class=""><br class="">_______________________________________________<br class="">users mailing list<br class=""><a href="mailto:users@lists.scilab.org" class="">users@lists.scilab.org</a><br class="">http://lists.scilab.org/mailman/listinfo/users<br class=""></div></div></blockquote></div><br class=""></div></body></html>