[Scilab-users] bode plot

Raghu Char raghu.char at gmail.com
Wed Jun 11 08:17:26 CEST 2014


List,

I'd like to increase the font size of the bode plot( jpeg attached), i  
have a function to do this
but as there are 2 figures it  works only on 1, could not find any help on  
this,  how do i do this?


code snippet:

function y=set_gr_txt(fnt_sz)
     // sets textize in plots to larger (4)
//    [out, inp] = argn(0);
//    //if inp < 1 then, x = 1, end //set default font size to 1

     a = gca();
     if ~exists("fnt_sz","local") then // default size
         fnt_sz = 4;
     end

     a.font_size = 4; // axis font size
     x_label=a.x_label;
     x_label.font_size=fnt_sz;
     y_label=a.y_label;
     y_label.font_size=fnt_sz;
     t = a.title;
     t.font_size=fnt_sz;
     //disp(is_handle_valid(a),typeof(h),'typeof handle');


endfunction


thanx in advance.


-- 
Regards raghu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140611/4a85cf66/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bode_plt.jpg
Type: image/jpeg
Size: 102638 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20140611/4a85cf66/attachment.jpg>


More information about the users mailing list