help-octave
[Top][All Lists]
Advanced

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

Re: Getting black and white mesh plots


From: Ben Abbott
Subject: Re: Getting black and white mesh plots
Date: Wed, 27 Mar 2013 22:24:07 -0400

On Mar 27, 2013, at 5:38 PM, asha g wrote:

> 
>  What is the octave code for getting black and white mesh plots ? Currently 
> my plots come in a range of colors - but for publication purposes -   I would 
> prefer it to be black and white.
> 
> Thanks
> 
> Asha G 
> 

To print in gray scale for any device ...

        colormap (gray)
        print gray.png

A second approach is to use the "-mono" option.

        print -mono gray.png

In the case of ps/eps output, the default is grayscale.

        print -deps gray.eps

To get color ps/eps ...

        print -depsc gray.eps

Ben




reply via email to

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