AW: [scilab-Users] how to use handle to chane figure size
alain
al.bertho at free.fr
Fri Jul 23 19:14:26 CEST 2010
Dear Paul,
You should have a look to the xtitle(title,x_label,y_label) function...
Alain
paul.carrico at free.fr a écrit :
> All,
>
> thanks for this first examples ...
>
> An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ?
>
> f = figure(); // creation de la figure avec identifiant f
> f // affiche les parametres de f
> f.figure_size = [1000, 1000]; // définition de la taille de la figure
> f.background = color(245,245,245); // couleur arrière-plan de la figure
> f.title.text = "Resultat TRACTION"; // titre
> f.x_label = "Epsilon [-]"; // nom axe X
> f.y_label = "Sigma [MPa]"; // nom axe Y
> scf(f); // permet à la figure f de devenir la figure courante si plusieurs figures
> plot(TRACTION(:,3),TRACTION(:,4))
>
> PC
>
>
>
> ----- Mail Original -----
> De: "Johannes Graus" <Johannes-Graus at web.de>
> À: users at lists.scilab.org
> Envoyé: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
> Objet: AW: [scilab-Users] how to use handle to chane figure size
>
> 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