help-octave
[Top][All Lists]
Advanced

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

Re: background color of printed figures


From: Torsten Lange
Subject: Re: background color of printed figures
Date: Fri, 1 Apr 2011 15:13:19 +0200
User-agent: KMail/1.10.3 (Linux/2.6.27.56-0.1-default; KDE/4.1.3; x86_64; ; )

Am Freitag, 1. April 2011 13:54:05 schrieb Ben Abbott:
> On Apr 1, 2011, at 6:32 AM, Torsten Lange wrote:
> > Hello!
> >
> > Can I change somehow the background color when printing to png-format? I
> > plot a my graphs using the loop variable (<=6) for colors. When i=6 then
> > the symbol color is white, which is ok for the plots (grey background)
> > but not for the png-prints where background is white.
> >
> > I have to print 100s of raw figures for visual evaluation. No need for
> > high quality.
> >
> > GNU Octave, version 3.0.2
> > used print command is:
> > print -dpng "file.png"
> >
> > Thanks, Torsten
>
> Would placing a colored patch in the background solve your problem?
>
>       help patch
>
> Ben

Thanks, Ben!

I had to pre-iterate through all data sets to find min/max of the plot area. 
Its an ok-workaround and the pngs now come with a darker background!!! 
Although, it makes the figures even more ugly ;)))
The grid disappeared unfortunately. I guess it's below the patch.

Have a nice weekend,
Torsten




reply via email to

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