[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Display Problem
From: |
Thomas D. Dean |
Subject: |
Display Problem |
Date: |
Mon, 6 Jun 2016 22:51:56 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Octave 4.1.0+
If I run the following code, line 1 ... line 9 do not display, just
press return and then yes or no. If I answer asdf, then line 1 ... line
9 are displayed and yes or no repeated.
Put this code in a file, problem.m and execute it. When asked, press
return. When asked yes or no, enter asdf and press return.
function problem()
disp ("");
input ("Press Return to continue:");
disp ("");
disp ("line 1");
disp ("line 2");
disp ("line 3");
disp ("line 4");
disp ("line 5");
disp ("line 6");
disp ("line 7");
disp ("line 8");
disp ("line 9");
disp ("");
if (yes_or_no("Do you wish to close all the plots?"))
show("close all");
else
blanks();
disp ("Use the octave command close all to close the plots.");
endif
endfunction;
Tom Dean
- Display Problem,
Thomas D. Dean <=