[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Figure Background Color
From: |
Søren Hauberg |
Subject: |
Re: Figure Background Color |
Date: |
Tue, 21 Jul 2009 20:10:50 +0200 |
tir, 21 07 2009 kl. 11:00 -0700, skrev Kristen Richter:
> I am attempting to adjust the figure background color from it's default white
> to red. After reading the online Matlab manual, it seems like the
> appropriate commands are
>
> set(gcf,'Color',[1,0,0])
>
> After typing this command into Octave, a figure appears. A simple plot
> command like, plot(apples,oranges) returns a default white plot with a blue
> line. When I query get(gcf,'Color'), the answer returned is 1 0 0.
You are doing it correctly. However, it seems this is not supported in
the 'gnuplot' backend. I don't know if this is impossible to do in
gnuplot, or if it is because nobody ever got around to implementing it.
Søren