# HG changeset patch # User jwe # Date 1174668252 0 # Node ID af8e28709a2cbb0dee7d28202d5fcb8a7f8d5761 # Parent 9dc77e3c93137819c5ce6872b4ca19a8e064a628 [project @ 2007-03-23 16:42:50 by jwe] diff -r 9dc77e3c9313 -r af8e28709a2c octMakefile.in --- a/octMakefile.in Fri Mar 23 16:28:00 2007 +0000 +++ b/octMakefile.in Fri Mar 23 16:44:12 2007 +0000 @@ -56,6 +56,7 @@ SHELL_SCRIPTS = octave-bug octave-config mkoctfile run-octave all: $(SHELL_SCRIPTS) $(filter-out libcruft liboctave, $(SUBDIRS)) dist-info-files + @echo "" @echo "Octave successfully built. Now choose from the following:" @echo "" @echo " ./run-octave - to run in place" diff -r 9dc77e3c9313 -r af8e28709a2c scripts/ChangeLog --- a/scripts/ChangeLog Fri Mar 23 16:28:00 2007 +0000 +++ b/scripts/ChangeLog Fri Mar 23 16:44:12 2007 +0000 @@ -1,6 +1,7 @@ 2007-03-23 John W. Eaton * plot/__pltopt1__.m: Handle "@" marker same as "+". + Handle numeric color specs. * plot/plot.m: Remove "-@" and "@" from docstring. * plot/orient.m: Fix tests to avoid creating a plot window. diff -r 9dc77e3c9313 -r af8e28709a2c scripts/plot/__pltopt1__.m --- a/scripts/plot/__pltopt1__.m Fri Mar 23 16:28:00 2007 +0000 +++ b/scripts/plot/__pltopt1__.m Fri Mar 23 16:44:12 2007 +0000 @@ -65,21 +65,22 @@ topt = "+"; endif options.marker = topt; - elseif (topt == "k") +### Numeric color specs for backward compatibility. Leave undocumented. + elseif (topt == "k" || topt == "0") options.color = [0, 0, 0]; - elseif (topt == "r") + elseif (topt == "r" || topt == "1") options.color = [1, 0, 0]; - elseif (topt == "g") + elseif (topt == "g" || topt == "2") options.color = [0, 1, 0]; - elseif (topt == "b") + elseif (topt == "b" || topt == "3") options.color = [0, 0, 1]; elseif (topt == "y") options.color = [1, 1, 0]; - elseif (topt == "m") + elseif (topt == "m" || topt == "4") options.color = [1, 0, 1]; - elseif (topt == "c") + elseif (topt == "c" || topt == "5") options.color = [0, 1, 1]; - elseif (topt == "w") + elseif (topt == "w" || topt == "6") options.color = [1, 1, 1]; elseif (isspace (topt)) ## Do nothing.