How to change the width and width of an axis line in an octave

I am trying to resize some graphs in Octave. I was able to change the thickness of the line and axis labels. However, I cannot find a way to make the axes themselves thicker, or the numbers larger.

What I found on the Internet uses set (), e.g.

plot(x, y, "linewidth",5); h=get(gcf, "currentaxes"); set(h, "fontsize", 12, "linewidth", 2); 

or

 set(gca, 'linewidth', 4); 

But I keep seeing errors

 invalid property 'linewidth' invalid property 'fontsize' 

although they are listed as properties in the Octave documentation

What am I doing wrong?

Or what else can I try?

+5
source share
1 answer

With an octave of 3.8.2, it works fine.

 x=1:10; plot(x, x, "linewidth", 5) set(gca, "linewidth", 4, "fontsize", 12) 

gives working linewidth

how it should be

+8
source

Source: https://habr.com/ru/post/1205385/


All Articles