<div dir="ltr"><div><div><div><div><div>Hi All,<br><br></div>I have created a plot using seqdplot using the default color scheme called "Accent."<br><br></div>I would like to change the order in which the states are plotted but keep the colors assigned to each state the same.  <br><br></div><div>In the example below, for instance, how could I have "employment" stay green but have it plotted at the top of the graph and have "further education" remain purple  but have it plotted between the red and blue states.<br><br>data(mvad)<br>mvad.labels <- c("employment", "further education", "higher education", "joblessness", "school", "training")<br>mvad.seq <- seqdef(mvad, 15:86, labels = mvad.labels, xtstep = 6)<br>seqdplot(mvad.seq, border = NA)<br><br></div><div>I know that changing the order of the states in the variables used to make the sequence object will change the order in which they are plotted, so that is a good start, but I am not sure how to keep the color associated with each state the same after the re-ordering.  Perhaps the solution is to create a custom color palette with the same colors as the "Accent" color palette, but I cannot seem to figure out the names of the colors used in that palette.<br></div><div><br></div>Any tips would be appreciated.<br><br></div>Thanks,<br><br></div>Jeremy<br><div><div><div><br><br><br><br><br><br><div><div><div><div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">********************<br>Dr. Jeremy Reynolds<br>Professor<br>Department of Sociology<br>116 Baldwin Hall<br>University of Georgia<br>Athens, GA 30602-1611<br>Phone: (706) 583-8072<br>Web: <a href="http://uga.edu/soc/people/faculty/reynolds_jeremy.php" target="_blank">http://uga.edu/soc/people/faculty/reynolds_jeremy.php</a><br>Fax: (706) 542-4320</div></div></div></div>
</div></div></div></div></div></div></div></div>