octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color output for documentation eps images


From: Rik
Subject: Re: Color output for documentation eps images
Date: Thu, 03 Dec 2009 12:28:04 -0800

>
>> Is BW default for PostScript a Matlab compatibility requirement?
>> If not, it would seem much better to make the default color.  I have, in
>> the past, regularly forgotten to set -color and had to redo plots.
>> Alternatively, the build could be set back to PDF with the needed
>> BB set somehow.
>>
>> In any case, it seems confusing to have different defaults for 
>> PostScript and
>> PDF.
>>
>> Michael
>>     
>
> Unfortunately, that is how Matlab works :-(
>   
Maybe we don't need to follow them slavishly?  The documentation from
Matlab is here:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/print.html. 
There is a printopts.m file which is configurable to set the default
print engine so at least there is a way to get around specifying
'-color' for every single saved plot.

Also, for consistency we should probably generate black and white
postscripts when printing.  I just did a test and printed an image with
no arguments.  My printer wasn't plugged in so I could take a look at
the generated file in the printer spool.  It is a color file apparently
generated with '-dpsc2'

--Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]