plot issues -> how to produce a mono plot? [changeset]

John W. Eaton jwe at octave.org
Wed Jun 24 09:53:05 CDT 2009


On  5-Jun-2009, Ben Abbott wrote:

| I've made an attempt to force monochromatic results when when the "- 
| mono" option is given or when the device is ps, ps2, eps, or eps2.
| 
| A changeset is attached.
| 
| Petr, please verity this works for you. I'll delay pushing it until  
| the issue (reference below) with rgb2gray has been resolved.
| 
| --------------------
| octave:6> h = plot (1:10)
| octave:7> set (h, "color", rgb2gray (get (h, "color")))
| error: invalid value for color property "color"
| --------------------
| http://www-old.cae.wisc.edu/pipermail/bug-octave/2009-June/008731.html

I don't see this problem now with the development sources.  Did you
push your change for "-mono"?

jwe


More information about the Bug-octave mailing list