|
From: Kevin C. <ca...@un...> - 2004-06-28 05:52:00
|
Gnuplot is great for scientific plotting,
but often the default colors are garish.
I installed gnuplot 4.0 and can use
gnuplot -xrm 'gnuplot*line1Color:tomato' -xrm 'gnuplot*line2Color:DarkSeaGreen'
to make colors 1 and 2 as displayed by
gnuplot> test
come out as tomato and DarkSeaGreen.
But when I put this trick in my makefile
all : defects DEFECTS
.PHONY : all
DEFECTS : DEFECTS.gpt
gnuplot -xrm 'gnuplot*line1Color:tomato' -xrm 'gnuplot*line2Color:DarkSeaGreen' DEFECTS.gpt
gnuplot2pdftex DEFECTS
defects : defects.gpt
gnuplot -xrm 'gnuplot*line1Color:tomato' -xrm 'gnuplot*line2Color:DarkSeaGreen' defects.gpt
latex defects.tex
dvips -Ppdf -j0 -G0 -E -o defects.eps defects
and then run pdflatex on my tex file,
the old garish colors, bright red and
bright green, are still there unchanged.
How can I do this correctly?
--
Kevin Cahill
ca...@un...
Department of Physics & Astronomy
800 Yale Blvd., N.E., MSC 07 4220
University of New Mexico
Albuquerque, NM 87131-1156
505 277 5318
405 Dartmouth Dr., N.E.
Albuquerque, NM 87106-2135
505 255 2129
mobile 240 498 8026
http://www.johnkerry.com/
|