Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2503 > unrolled thread

background color of the command window

Started byJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
First post2014-07-01 14:18 +0200
Last post2014-07-10 22:08 +0200
Articles 5 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  background color of the command window Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-07-01 14:18 +0200
    Re: background color of the command window giacomo boffi <pecore@pascolo.net> - 2014-07-01 18:18 +0200
      Re: background color of the command window Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-07-01 20:39 +0200
        Re: background color of the command window pecore@pascolo.net - 2014-07-03 01:29 +0200
          Re: background color of the command window pecore@pascolo.net - 2014-07-10 22:08 +0200

#2503 — background color of the command window

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2014-07-01 14:18 +0200
Subjectbackground color of the command window
Message-ID<alpine.WNT.2.11.1407011415220.4756@dhcp3-6>
How can I change the color of the command window? Not the window with the 
plot, but the window with the "gnuplot>" prompt, where you type plot log(x) of 
print 2+2.

Regards,
-- 
Jean-Pierre Coulon

[toc] | [next] | [standalone]


#2504

Fromgiacomo boffi <pecore@pascolo.net>
Date2014-07-01 18:18 +0200
Message-ID<87a98tyrv2.fsf@pascolo.net>
In reply to#2503
Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> writes:

> How can I change the color of the command window? Not the window with
> the plot, but the window with the "gnuplot>" prompt, where you type
> plot log(x) of print 2+2.

Hi Jean-Pierre,

it seems that you use alpine, so chances are that you use something
like an xterm to run gnuplot --- what follows stems from this
assumption :)

do you like a green background? at the gnuplot prompt type

gnuplot> !echo '^[[42;1m'

and press return (NB: you have to press Ctrl-V ESC to get the "^["
above)

so you don't like a green bg ... then ask google about ANSI color
codes

-- 
"Mei non ha paura."

[toc] | [prev] | [next] | [standalone]


#2505

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2014-07-01 20:39 +0200
Message-ID<alpine.WNT.2.10.1407012031450.1360@BecaneCoulon>
In reply to#2504
On Tue, 1 Jul 2014, giacomo boffi wrote:

> it seems that you use alpine, so chances are that you use something
> like an xterm to run gnuplot --- what follows stems from this
> assumption :)

No, there is a Windows version of Alpine. I am with Windows 8.

> do you like a green background? at the gnuplot prompt type

The color doesn't matter it it helps understanding things. I'll change it 
to yellowish later on.

> gnuplot> !echo '^[[42;1m'
>
> and press return (NB: you have to press Ctrl-V ESC to get the "^["
> above)

It opens a DOS window for a second and that's all.

In XP I could change the background color of Gnuplot, Notepad, Word and 
other applications with a right click on the desktop. But Windows 8 has 
lost this feature!

Bye,

Jean-Pierre Coulon

[toc] | [prev] | [next] | [standalone]


#2506

Frompecore@pascolo.net
Date2014-07-03 01:29 +0200
Message-ID<874myze3vc.fsf@pascolo.net>
In reply to#2505
Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> writes:
>> gnuplot> !echo '^[[42;1m'
>>
>> and press return (NB: you have to press Ctrl-V ESC to get the "^["
>> above)
>
> It opens a DOS window for a second and that's all.

never used gnuplot on Windows... if the following destroys your pc I
won't feel responsible

gnuplot> print '^[[42;1m'

(remember the Ctrl-V Esc stuff above)

[toc] | [prev] | [next] | [standalone]


#2509

Frompecore@pascolo.net
Date2014-07-10 22:08 +0200
Message-ID<87tx6pnfiv.fsf@pascolo.net>
In reply to#2506
> print '^[[42;1m'

print sprintf("%c[42;1m",27)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web