[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Request to run a command in matlab.
From: |
David Bateman |
Subject: |
Request to run a command in matlab. |
Date: |
Thu, 17 Jun 2010 01:20:34 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Could someone with access to matlab tell me if with the command
plot(1:10); whitebg(); drawnow(); sleep(2); reset(0)
the call to reset changes the color of the figure back to the default
colors? The documentation from matlab is unclear on this point, of
whether reset changes the default properties and only affects subsequent
figures or if the changes take effect immediately. Also what does
plot(1:10); whitebg(); drawnow(); sleep(2); reset(gca())
do, as this might very well be a different case? I've now implemented
the whitebg command and would like to implement colordef and reset
before posting this code, and need the feedback of how matlab treats the
above two commands to be able to implement the reset function.
Cheers
David
- Request to run a command in matlab.,
David Bateman <=