On 05/05/2014 09:17 AM, Vincent COUVERT wrote:
Hi Antoine,

What you can do is creating axes inside "frame" uicontrols (using newaxes) and use a layout for the frames.
Thanks!

I had a look at it and I though frame only accepts uicontrols, as stated in the help page for uincontrols: "Frame: a container for other uicontrols." I don't understand how I am supposed to tell newaxes to use the newly created frame as parent and not the current window.
If I call:


f = figure( ...
"layout"          , "border",...
"layout_options", createLayoutOptions("border", [10,20]),...
"visible"         , "on");

 c = createConstraints("border", "top", [200,100]);

 ui1 = uicontrol(f,...
 "style", "frame",...
 "backgroundcolor", [0 0 1], ...
 "constraints", c);
 a1=newaxes();

a1 is attached to f, not ui1 and placed relative to the figure, not the frame...

I'm confused...

Antoine

Regards,

Le 02/05/2014 18:05, Antoine Monmayrant a écrit :
I am a bit disappointed by the newly introduced "layout" properties.
I was expecting these properties to be available for axes in addition to figures and uicontrols. This could have saved me a lot of time when generating multiple plots for scientific articles. A the moment, it's a true pain in the blip to arrange by hand the different axes. (Please don't mention subplot, it's quite handy but it's not really usable for advanced layouts).
Why were axes left behind?
Any plan to extend these properties to axes?

Cheers,

Antoine
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users



--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
email : [email protected]
 permanent email : [email protected]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to