From help-request at octave dot org Sun Jan 23 12:14:33 2005 Subject: Re: Problem with "gset output postscript color" From: "Dmitri A. Sergatskov" To: Frederic Cornet CC: help at octave dot org Date: Sun, 23 Jan 2005 11:15:50 -0700 Frederic Cornet wrote: > Selon "Dmitri A. Sergatskov" : ... > I still have some trouble with accents (\'e in LaTeX for example). Indeed, it > seems the font used in the generated eps file is not the one used by the system > : A title with "" will be ok in the window but will not be ok in the generated > file. > That is a known problem with gnuplot. It is not a WYSIWYG program, it is output depends on what terminal you use. > Moreover, if I try to use print("test.png","-dpng"), it works but i get the > following error : > >>warning: in fopen near line 55, column 3: >>warning: fopen: default open mode is now binary >> >>gnuplot> set term png color medium >> ^ >> line 0: invalid color spec, must be xRRGGBB > This is a known problem with octave :). The print.m was written for gnuplot 3.7. Gnuplot 4.x has a new png terminal with a different command interface. You can just edit the print.m file (delete "color" on line line 303). You may also want to file a bug report against debian package -- they know the gnuplot version they ship. > > Thank in advance for your help ! > > Frederic > > Regards, Dmitri -- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------