|
From: | Jonathan Stickel |
Subject: | Re: Colors in plots and legend position |
Date: | Wed, 21 Sep 2005 08:44:09 -0700 |
User-agent: | Mozilla Thunderbird 1.0.6 (X11/20050716) |
Javier Arantegui wrote:
Hello,I'm pretty sure that these questions have been discused in the list before but I haven't been able to find the messages in the archive :-(I'm using Octave 2.9.3.I am programing a function that plots a graphic and I need more than 6 colors. Is possible to use more than 6?'help plot' says: " `C' If C is one of `"r"', `"g"', `"b"', `"m"', `"c"', or `"w"', it is interpreted as the plot color (red, green, blue, magenta, cyan, or white)." OK. But, below that you can read: " The color line styles have the following meanings on terminals that support color. Number Gnuplot colors (lines)points style 1 red * 2 green + 3 blue o 4 magenta x 5 cyan house 6 brown there exists"That is a little bit inconsistent because in one of the cases there is white but in the other it mutates to brown.
Some terminals have more than 6 colors, and the colors change depending on the terminal. Try running gnuplot by itself and then issue the command "test".
Another question, is possible change the place where the legend is written withou use the command 'legend' from octave-forge?
You can use the gnuplot command (in octave) __gnuplot_set__ key <options>The gnuplot manual, while not exactly easy reading, is useful when wanting to do things that are not implemented yet in Octave. It can be found here:
http://www.gnuplot.info/documentation.html Jonathan ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |