nicholschart() to be fixed and upgraded: default colors & line style, labels positioning, returned groups of handles...
@sgougeon)
Reported by Samuel GOUGEON (nicholschart_15393.png (136.55 KB, image/png)
comparison current 6.0.1 / proposed for 6.1.0 renderings
BUG DESCRIPTION:
----------------
nicholschart:
* lines colors: default light cyan colors and lines style are questionnable.
Solid and faint grey90 lines would be better (please see the attachment for a comparison)
* labels in grey90 as well or grey85 would also be a better default choice.
* note that labels are presently shifted wrt their curve. This must be fixed.
* The example
clf()
nicholschart(modules=[-6 -3 -1 1 3 6], args=[-1 -20 20 40 80 160 180]);
yields a blank plot! To be fixed: https://help.scilab.org/docs/6.0.0/en_US/nicholschart.html
HOW TO REPRODUCE THE BUG:
-------------------------
clf
subplot(1,2,1)
nicholschart()
subplot(1,2,2)
nicholschart()
ch = gca().children.children;
cp = ch(ch.type=="Polyline");
cp.foreground = color("grey90");
cp.line_style = 1;
cp = ch(ch.type=="Compound");
cp.children(1:2:46).foreground = color("grey90");
cp.children(1:2:46).line_style = 1;
cp.children(2:2:46).font_foreground = color("grey80");
OTHER INFORMATION:
------------------