Greetings everyone, I am relatively new to Octave, and I am having trouble saving a figure, consisting of a set of subplots generated with "for" loops.
To illustrate this issue, I have generated the sample code on the attached f1.m file.
We have the independent variable x = (0:1:20), and y = f(x) = 2*x.
After defining the variables, a for loop goes from i = 1:4, and each time a random number vector (err) is generated with the randn function. On each step of the for loop, a subplot is generated, which contains: (a) original data (y) illustrated as a solid line; (b) random data (y + i*err) illustrated as coloured markers.
The plot is correctly generated by the GNU interface as showed by the screenshot on the attached file "fig1_correct". The formatting of the y-axis label is also displayed as desired" "f(x) = y, f(x) = y
".