[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
long colornames
From: |
John W. Eaton |
Subject: |
long colornames |
Date: |
Wed, 27 Jun 2007 11:06:25 -0400 |
On 21-Jun-2007, Kai Habel wrote:
| Hello,
|
| the following patch allows to use the long colornames
| black, blue, red, green, white, magenta, cyan and yellow in addition
| to the short colornames (e.g. 'k' for black color).
|
| Example: plot([1 2],'color','magenta')
|
| I have tried to be compatible with matlab that means:
| * For example 'c' 'cy' 'cya' and 'cyan' set the color to cyan, while
| 'cy1' does not (it causes an error)
| * In case of 'b' and 'bl' - those could be 'black' or 'blue' - the blue
| color is being chosen.
I applied this patch.
Thanks,
jwe