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 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> 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 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 ****