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


Groups > comp.graphics.apps.gnuplot > #346

Gnuplot forgets textcolor of title, xlabel, ylabel and key when using terminal emf

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Tristan <Sethur2@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Gnuplot forgets textcolor of title, xlabel, ylabel and key when using terminal emf
Date Tue, 31 May 2011 14:50:10 +0200
Lines 48
Message-ID <94k6g2F23nU1@mid.dfncis.de> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de GJabfjEgmOMZ570MUUA/yQOOhnJA7xxn2M4tTDYUaQvy1c
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:346

Show key headers only | View raw


Hi,

I am using 
http://gnuplot.sourceforge.net/development/binaries/gp45-20110525-win-mingw.zip, 
and have encountered the following bug when trying to change the text 
and line colors to be suitable for a dark background using the emf 
(enhanced metafile) terminal:

When running the following script, the textcolors of the title, labels 
and the key are not kept by gnuplot, but reset to black, although the 
command "show title/xlabel/ylabel/key" will claim that the color is 
still set to rgb "white". I have to restart gnuplot to produce several 
emf plots with a white background. I haven't tried this for different 
terminals, yet.


Any ideas?

Tristan

**** Start of Script ****

set title "Some title"
set xlabel "Some xlabel"
set ylabel "Some ylabel"
set grid
set style data linespoints
set key right top

set border linecolor rgb "white"
set grid linecolor rgb "white"
set xtics textcolor rgb "white"
set ytics textcolor rgb "white"
set title textcolor rgb "white"
set xlabel textcolor rgb "white"
set ylabel textcolor rgb "white"
set key textcolor rgb "white"  	

set terminal emf color enhanced 22
set output "ItWorksHere.emf"

plot sin(x) t "Sinus" lw 2, cos(x) t "Cosinus" lw 2

set output "ItsBlackAgain.emf"
replot

**** End of Script ****

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Gnuplot forgets textcolor of title, xlabel, ylabel and key when using terminal emf Tristan <Sethur2@gmx.net> - 2011-05-31 14:50 +0200
  Re: Gnuplot forgets textcolor of title, xlabel, ylabel and key when using terminal emf sfeam <sfeam@users.sourceforge.net> - 2011-05-31 13:07 -0700

csiph-web