help-octave
[Top][All Lists]
Advanced

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

Re: Plotting a black line


From: Miroslaw Kwasniak
Subject: Re: Plotting a black line
Date: Fri, 19 Nov 2004 14:45:30 +0100
User-agent: Mutt/1.5.6+20040907i

On Fri, Nov 19, 2004 at 12:49:36PM +0100, Ploett Norbert wrote:
> Hello experts :-),
>  
> for the plot style there are letters rgbmcw for colors, but how can I force
> the plotting of a _black_ line?
>  
> Norbert

I suppose that it should be "k" as blac"k" ;)
But according to contents of file __pltopt1__.m "k" is defined as 
"w"hite. It looks as dark brown on my screen but as yellow in color
postscript :(

Looking at __pltopt1__ I see that color symbols are also digits 0-9 (0 is a
dotted line). In postscript black is "7" while "w" and "k" defined as "6".

You can see all doing that test:

c='1234567890rgbcmwk';
hold off;
for i=1:length(c);
  plot([0 0]+i,c(i));
  hold on;
end;
plot([1 1] [0 length(c)+1])

print('/tmp/x.ps','-color')


Mirek



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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