<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 24/11/2016 14:09, Antoine Monmayrant
a écrit :<br>
</div>
<blockquote cite="mid:1628-5836e680-11-1a9875e0@25367483"
type="cite">
<pre wrap="">Le Mercredi, Novembre 23, 2016 17:51 CET, <a class="moz-txt-link-abbreviated" href="mailto:sgougeon@free.fr">sgougeon@free.fr</a> a écrit:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">But anyway, with subplots, I haven't found a reliable way to get "zoom synchronization" across several subplots...
</pre>
</blockquote>
<pre wrap="">
This feature was broken since Scilab 5.4.0, but is repaired in Scilab 6.0-b: the zoom box can again be dragged and set over several subplots.
</pre>
</blockquote>
<pre wrap="">
Hu?
I don't see what you mean exactly.
I tried to play a bit with subplots and zoom and I am stuck in the subplot I started my "drag and zoom".
Could you tell me a bit more about this feature?</pre>
</blockquote>
.<br>
// After<br>
<tt>x = linspace(0, 10, 100);</tt><tt><br>
</tt><tt>clf</tt><tt><br>
</tt><tt>subplot(2,2,1)</tt><tt><br>
</tt><tt>plot(x,cos(x))</tt><tt><br>
</tt><tt>subplot(2,2,2)</tt><tt><br>
</tt><tt>plot(x,cos(2*x))</tt><tt><br>
</tt><tt>subplot(2,2,3)</tt><tt><br>
</tt><tt>plot(x,sin(x))</tt><tt><br>
</tt><tt>subplot(2,2,4)</tt><tt><br>
</tt><tt>plot(x,sin(2*x))</tt><tt><br>
// click on the zoom icon, and interactively select on both upper
plots an dy area on [-0.1, 0.6]:<br>
// Since august (> SCilab 6.0-b2), it is now possible, as
before Scilab 5.4.0). By the way, it is again possible to click
out of data bounds -- so in margins -- to draw the selection
rectangle (also as before 5.4.0):<br>
</tt><img src="cid:part1.04090603.09080203@free.fr" alt=""
height="308" width="403"><br>
<br>
// After applying this zoom, it is then possible to do the same e.g.
on both right-hand plots, for dx on -- say -- [5, 8]:<br>
<br>
<img src="cid:part2.02040802.08050102@free.fr" alt="" height="297"
width="392"><br>
<br>
// Finally we get<br>
<br>
<img src="cid:part3.04030709.03000709@free.fr" alt="" height="290"
width="383"><br>
<br>
Overlaying axes as in the plotyy or plotyyy demos can also be zoomed
synchronously again.<br>
<br>
All this is impossible with 5.4.0 <= Scilab <= 6.0-b2.<br>
<br>
Cheers<br>
Samuel<br>
<br>
</body>
</html>