[Scilab-users] Understanding the graphic hierarchy. Copy a figure

Jens Simon Strom j.s.strom at hslmg.de
Mon Nov 21 14:32:42 CET 2016


Hallo,
The script below is  to make f2 a copy of f1. However f2 is/empty/  although its axes, compound, and polyline data look as expected.
(Version 5.5.2)

xdel();xdel();
f1=figure(1);
plot(1:3,1:3)
ca1=gca()//axes with one compound child
//
  f2=figure(2);
ca2=gca()//axes without children
ca2_=ca1//axes with one compound child
ca2_c=ca2_.children//compound with one polyline child
ca2_cc=ca2_c.children//polyline, same as in ca1

How can the polyline be made visible?

Regards
Jens









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161121/64ffeb6a/attachment.htm>


More information about the users mailing list