gnuplot/eps/mono

John W. Eaton jwe at bevo.che.wisc.edu
Thu Dec 6 16:05:11 CST 2007


On  6-Dec-2007, A. Scottedward Hodel wrote:

| There's been some discussion on the list about gnuplot generating  
| color eps/epslatex plots when mono is requested.  I used the -debug  
| option in the print script and found that if I removed the text
| 	linecolor rgb "#0000ff"
| from the second set style line command then I get a black-and-white  
| plot, whereas the rgb command seems to set gnuplot back to color  
| plotting if it's left t here.
| 
| I can't say whether that's a bug in gnuplot or not.

It seems like a bug to me if you specify "monochrome" and the terminal
driver doesn't ignore color specifications.  Otherwise, what use is
the "monochrome" option?  But I guess that is not the interpretation
of the author of the gnuplot postscript terminal driver:

 The option `color` enables color, while `monochrome` prefers black and white
 drawing elements. Further, `monochrome` uses gray `palette` but it does not
 change color of objects specified with an explicit `colorspec`.

(text taken from the gnuplot help for "set term postscript").

| If routine  
| __go_draw_axes__.m it can be informed of the "mono" option so that it  
| can omit the linecolor command, that should fix at least this part of  
| the problem.

Is the following patch sufficient, or is there more to it than this?

jwe


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20071206/da2a265d/attachment.ksh 


More information about the Help-octave mailing list