Hi ! I am new to Octave and to Mac OX in general. I have a very simple
problem. I would like to change some code from the function
figure.m which is giving me problems. The function figure.m when use
always gives me this error:
error: figure: requires X11 and valid DISPLAY
error: evaluating if command near line 42, column 7
error: evaluating if command near line 41, column 5
error: evaluating if command near line 40, column 3
error: called from `figure' in file
`/sw/share/octave/2.1.53/m/plot/figure.m'
THis is just for the record. I found the solution thanks to this site
by changing just a bit of the code. The problem that I have is that I
don't know how
to change the code! I open a terminal in my Mac and then use emacs or
vi to open the source code of the function figure.m .
But this says it is in read mode only. Since this is GNU software I
should be able to change the code easily. What I'm doing wrong? Sorry
to ask such silly question but I have
been trying to find help all over the place and can't do it. Thanks
for your help in advance!