On 10.02.2016 09:19, Antoine Monmayrant wrote:
f = gcf();
imageWidth = 181;
imageHeight = 144;
f.axes_size=[imageWidth,imageHeight];
//here image parent can be set to something else than the figure f (like a
frame, ...)
h = uicontrol("Parent", f, ..
"Style", "image", ..
"Position", [0 0 imageWidth imageHeight], ..
"String", SCI + "/modules/demo_tools/images/logo_scilab.png");
Thank you, that works fine, but I find that I have more control over the
image with:
im2=SCI + "/modules/demo_tools/images/logo_scilab.png";
xstring(0.4,0.4,"$\scalebox{.5}{\includegraphics{"+im2+"}}$");
Jan Å
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users