AW: [scilab-Users] how to use handle to chane figure size

Johannes Graus Johannes-Graus at web.de
Fri Jul 23 11:21:54 CEST 2010


Hi,

here's an example of how I would set a different figure size. I hope it will help you!


mode(0);
xdel(winsid()) //Close all figures
clear
clc

f = figure(); //create figure with handle f
f //Show parameters of figure object
f.figure_size = [600, 400]; //change size of figure window
scf(f); //Choose f as current figure if multiple figure windows are used
plot(sin(0:.01:2*%pi));


Yours,

Johannes



-----Ursprüngliche Nachricht-----
Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] 
Gesendet: Freitag, 23. Juli 2010 11:00
An: users at lists.scilab.org
Betreff: [scilab-Users] how to use handle to chane figure size

All,

Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!!

basically I used until now :
clf(0)
xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]")
plot(TRACTION(:,3),TRACTION(:,4))
xs2jpg(0,'essais_traction.jpg');

and after reading the 'help figure_properties' I try several things by I failed each time ..

So can somebody share a part of a code to change this *$+&&%%%:-((((  size ?

Thanks in advance

Paul




More information about the users mailing list