* [#15796](http://bugzilla.scilab.org/show_bug.cgi?id=15796): Display after `mprintf("")` crashed Scilab (regression)
* [#15809](http://bugzilla.scilab.org/show_bug.cgi?id=15809): HDF5 load/save was super slow for nested lists.
* [#15814](http://bugzilla.scilab.org/show_bug.cgi?id=15814): Selecting graphic children with booleans yielded an error.
+* [#15816](http://bugzilla.scilab.org/show_bug.cgi?id=15816): `polarplot()`, `pie()`, `mesh()` and `contourf()` ignored / canceled any upstream `drawlater`.
* [#15818](http://bugzilla.scilab.org/show_bug.cgi?id=15818): `polarplot()` example could not be subplotted. `polarplot`'s demo did not display 'View code' and too often prompted the user.
* [#15847](http://bugzilla.scilab.org/show_bug.cgi?id=15847): Scilab crashed at startup.
* [#15854](http://bugzilla.scilab.org/show_bug.cgi?id=15854): `horner(1:$,4)` yielded an error. Extractions from `cblock` tables were impacted.
min_nv=min(nv);
max_nv=max(nv);
+ initDrawingMode = gcf().immediate_drawing;
+ gcf().immediate_drawing = "off";
+
plot2d([min(xx);max(xx)],[min(yy);max(yy)],0,strf,leg,rect,nax);
// Plot patches in order of decreasing size. This makes sure that
H=[];
[FA,IA]=gsort(abs(Area));
- drawlater(); // postpone the drawing here
ax = gca();
old_foreground = ax.foreground;
pat = old_foreground;
contour2d(xx,yy,zz,nv,style,"000",leg,rect,nax);
end
ax.foreground = old_foreground;
- drawnow(); // draw all now!
+ gcf().immediate_drawing = initDrawingMode;
endfunction
6.6 6.7 8.6 10.3 13.6 16.2 18.1 18.0 16.0 13.0 9.4 7.0 12.0
0.6 1.3 3.7 5.5 9.6 13.1 16.2 16.0 12.8 8.8 3.8 1.8 7.8
];
- drawlater
+ initDrawingMode = gcf().immediate_drawing;
+ gcf().immediate_drawing = "off";
hist3d(T)
ax = gca()
ax.y_ticks = tlist(["ticks" "locations" "labels"], (0:12)+0.5, months)
ax.rotation_angles = [28 19]
ax.children.color_mode = color("violet")
// ax.children.color_flag = 1
- drawnow
- return;
+ gcf().immediate_drawing = initDrawingMode;
+ return
end
if typeof(f)=="list" then
[f,x,y]=f(1:3);
// Copy RHS arguments
ListArg = varargin;
- drawlater();
+ initDrawingMode = gcf().immediate_drawing;
+ gcf().immediate_drawing = "off";
+
surf(ListArg(:));
e = gce();
e.color_mode = color("white");
e.color_flag = 0;
- drawnow();
+
+ gcf().immediate_drawing = initDrawingMode;
endfunction
a.data_bounds=matrix(rect,2,2);
a.axes_visible="on";
y=feval(x,theta(1),f);
- xpoly(x,y(:));p=gce(); //the polyline handle
+ xpoly(x,y(:));
+ p = gce(); //the polyline handle
+ drawnow();
realtime(0);
if flag=="no" then
drawlater();
xi = [];
CurColor = 0;
- drawlater();
+ initDrawingMode = gcf().immediate_drawing;
+ gcf().immediate_drawing = "off";
+
a = gca();
// Create a close polyline for every parts of pie, the polyline inside color is determinated by the plot colormap
for i=1:size(x,"*")
isoview("on")
a.box = "off";
a.axes_visible = "off";
- drawnow();
+
+ gcf().immediate_drawing = initDrawingMode;
endfunction
// Copyright (C) INRIA
// Copyright (C) 2010 - DIGITEO - Manuel Juliachs
// Copyright (C) 2012 - 2016 - Scilab Enterprises
+// Copyright (C) 2010, 2018 - Samuel GOUGEON
//
// This file is hereby licensed under the terms of the GNU GPL v2.0,
// pursuant to article 5.3.4 of the CeCILL v.2.1.
frameflag=4
opts=[opts,"frameflag=frameflag"],
end
- drawlater()
+
+ initDrawingMode = gcf().immediate_drawing;
+ gcf().immediate_drawing = "off";
execstr("plot2d(x,y,"+strcat(opts,",")+")")
fcolor=color("grey70");
a.data_bounds=[rect(1:2);rect(3:4)]
a.margins=[0.07 0.07 0.12 0.07]
- drawnow()
+ gcf().immediate_drawing = initDrawingMode;
endfunction