|
From: | A Scotte Hodel |
Subject: | figfrag: possible bug |
Date: | Sat, 29 Jan 2005 22:57:22 -0600 |
I attempted to make use of figfrag and found what appears to be a bug. I have attached five files:
(1,2) exampleBAD.fig and exampleBAD.eps : the original .fig file created by gnuplot 3.8.
figfrag complains about this file: Generating LaTeX file... Converting figure to EPS... Incomplete text object at line 16. Replacing tags with LaTeX commands... Converting DVI to EPS... Adjusting bounding box...The resulting .eps file is included (exampleBAD.eps), and contains no visible graphical objects. (2,4) exampleGOOD.fig, exampleGOOD.eps : this file is obtained by loading the above fig file into xfig and saving it again. This somehow re-orders the commands in a way that figfrag accepts. This provides a temporary work-around, but it's not practical if I have more than 5 or 6 graphs in a run.
(5) figexample.m : the octave m-file that generates exampleBAD.fig Diagnosis: line 16 in exampleBAD.fig reads: 4 2 0 0 -1 0 10.000 0.000 2 125.000 150.000 1487 4487 -3\001 The corresponding line in exampleGOOD.fig reads: 4 2 0 0 -1 0 10 0.0000 2 105 135 1487 4487 -3\001The apparent changes are: 10.000 -> 10 (float to integer in a parameter) and a few changes in point locations.
If you're still maintaining figfrag, I thought you would want to see this example.
Regards, A. S. Hodel http://www.eng.auburn.edu/~hodelas
exampleBAD.eps
Description: PostScript document
exampleBAD.fig
Description: Binary data
exampleGOOD.fig
Description: Binary data
exampleGOOD.eps
Description: PostScript document
figexample.m
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |