Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Reset the Color Order Property of an axis
Date: Fri, 7 Aug 2009 22:25:03 +0000 (UTC)
Organization: University of Utah
Lines: 15
Message-ID: <h5i9jv$ltj$1@fred.mathworks.com>
References: <h5i6gi$t92$1@fred.mathworks.com> <a49d4c9c-db63-4568-bf94-4e446d9e9824@q14g2000vbi.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1249683903 22451 172.30.248.37 (7 Aug 2009 22:25:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 7 Aug 2009 22:25:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 811741
Xref: news.mathworks.com comp.soft-sys.matlab:561727


This doesn't seem to be working for me.  

This loop plots the test data that is selected by the user.  There may be any number of plots to be compared on the same axis:

% code
hold all;
            for j=1:length(testrow)
                plot(xaxis{j,:}',testdata{testrow(j),:}','LineWidth',lw)
            end

%/end code

testrow is a vector containing the selected rows from a list box.

Does the hold all;   command make it so that the solution in the previous post does not work?  Every time my plot button is pressed, the colors start off with the next in line and not with the regular blue.