[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colors in plots and legend position
From: |
Henry F. Mollet |
Subject: |
Re: Colors in plots and legend position |
Date: |
Wed, 21 Sep 2005 10:47:59 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
In Gnuplot try
gnuplot> test
Will give available colors. Test results will depend on terminal e.g. X11
vs. Aquaterm will give slight differences. Octave will use these colors say
in a contour plot requiring lots of colors by default.
Henry
on 9/21/05 8:44 AM, Jonathan Stickel at address@hidden wrote:
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------
Re: Colors in plots and legend position, Jonathan Stickel, 2005/09/21
- Re: Colors in plots and legend position,
Henry F. Mollet <=