|
From: Jelle de J. <jel...@po...> - 2018-08-22 18:44:57
|
I came a bit further by looking at the generated eps files.
I found the bellow default colors (this whole block is not present with
the old generated eps with gnuplot 4.0 patchlevel 0) and if I change the
values in the eps file the lines color will change. So I am looking for
the behaviour of gnuplot 4.0 patchlevel 0 (this was the old working
version).
Is there a way to not have the default line colors present, or otherwise
what is the way to set the default line colors to other values, because
altering them may be a workaround.
gnuplot 4.6 patchlevel 2
% Default Line colors
/LCw {1 1 1} def
/LCb {0 0 0} def
/LCa {0 0 0} def
/LC0 {1 0 0} def
/LC1 {0 1 0} def
/LC2 {0 0 1} def
/LC3 {1 0 1} def
/LC4 {0 1 1} def
/LC5 {1 1 0} def
/LC6 {0 0 0} def
/LC7 {1 0.3 0} def
/LC8 {0.5 0.5 0.5} def
gnuplot 5.2 patchlevel 4
% Classic Line colors (version 5.0)
/LCw {1 1 1} def
/LCb {0 0 0} def
/LCa {0 0 0} def
/LC0 {1 0 0} def
/LC1 {0 1 0} def
/LC2 {0 0 1} def
/LC3 {1 0 1} def
/LC4 {0 1 1} def
/LC5 {1 1 0} def
/LC6 {0 0 0} def
/LC7 {1 0.3 0} def
/LC8 {0.5 0.5 0.5} def
Kind regards,
Jelle de Jong
On 15/08/18 18:34, Jelle de Jong wrote:
> On 15/08/18 17:19, Kevin Oberman wrote:
>> On Wed, Aug 15, 2018 at 7:51 AM Jelle de Jong <jel...@po...
>> <mailto:jel...@po...>> wrote:
>>
>> Hello everybody,
>>
>> upgrade from gnuplot 4.0 patchlevel 0 to -> gnuplot 4.6 patchlevel 2
>>
>> I attached two picture of graphs that generated different line colours.
>>
>> I can not find any colour definitions in the gnuplot input files.
>>
>> I am trying to figure out what to look for in the gnuplot input files so
>> I can change the colours back. Can somebody help?
>>
>> For what I can see there are lt (linetype) 1 to 5 used.
>>
>> Can I output the linetype colour mapping/pallet somehow?
>>
>> This change was documented in the v5 release notes.
>>
>> If you want the old colors back, you may explicitly specify them or use
>> the command "set colors classic".
>
> Thank you for taking the time to reply, very much appreciated!
>
> I am running gnuplot 4.6 patchlevel 2
>
> There does not seem to be a set colors classic command, is there
> something else I can do to get the classic colors back?
>
> Kind regards,
>
> Jelle de Jong
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|