<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><font color="#3333ff">Hello,</font><br>
<br>
Le 22/03/2016 15:50, anna78 a écrit :<br>
</div>
<blockquote cite="mid:1458658242610-4033821.post@n3.nabble.com"
type="cite">
<pre wrap="">Hi all,
I'm making the attached figure using the following code.
Can you help me to take out the bad white background appearing in the last
(other time in both) the subplots?
thanks!
Anna
clf(1);
//f=gcf(); // macro shortcut <=> f=get("current_figure")
f=figure(1); // creo figure con id=1
f.figure_position=[200,0]
f.figure_size=[800,700]
f.figure_name=particle+' monitoring (hour average)';
subplot(211)
xtitle(particle+" mean position @ PUB - hour average");
xsetech([0,0,0.8,0.4]);
//g=gcf();
//g.background=0;
xlabel('timestamp (yymmddhh)');
ylabel('[mm]');
plot(xMean,'r.','markersiz',3);
plot(yMean,'k.','markersiz',3);
xgrid(0); //0=black; 2=blue;
subplot(212)
xtitle(particle+" standard deviation @ PUB - hour average");
xsetech([0,0.5,0.8,0.4]);
xlabel('timestamp (yymmddhh)');
ylabel('[mm]');
plot(xDevSt,'r.','markersiz',3);
plot(yDevSt,'k.','markersiz',3);
//
xgrid(0); //0=black; 2=blue; .
<a class="moz-txt-link-rfc2396E" href="http://mailinglists.scilab.org/file/n4033821/PUB_PROTON_monitoring_v0_736398.png"><http://mailinglists.scilab.org/file/n4033821/PUB_PROTON_monitoring_v0_736398.png></a> </pre>
</blockquote>
<font color="#3333ff">After each subplot, you may tune the right
margin with<br>
</font><font color="#3333ff"><tt>ax = gca();</tt><tt><br>
</tt><tt>ax.margins(2) = 0.2;</tt></font><font color="#3333ff"><br>
and cancel the xsetech() lines.<br>
<br>
Samuel<br>
</font><br>
</body>
</html>