Page 1 of 1
EPS figures in LATEX - something wrong with fonts
Posted: Sun Jan 21, 2018 11:58 am
by tvonbrasch
Hi
I have made the following graph in Eviews

- eviews.PNG (24.65 KiB) Viewed 24269 times
I have saved the graph in EPS format using the code
Code: Select all
_graph.save(t=eps) ..\graphs\graph_productivity
When loading the EPS file in LATEX, i get the following picture:

- latex.PNG (17.1 KiB) Viewed 24269 times
Why is this happening with the fonts?
Thomas
Re: EPS figures in LATEX - something wrong with fonts
Posted: Sun Jan 21, 2018 12:36 pm
by EViews Gareth
Looks much better! Keep it!
Re: EPS figures in LATEX - something wrong with fonts
Posted: Mon Jan 22, 2018 8:28 am
by tvonbrasch
:D
For some reason, the font Arial works fine.....
Re: EPS figures in LATEX - something wrong with fonts
Posted: Mon Jan 22, 2018 9:09 am
by startz
The issue may be which fonts are used in the eps and whether they are embedded in the LaTex document. You might check to see if you can adjust LaTex to be sure it's including the fonts coming out of EViews.
Re: EPS figures in LATEX - something wrong with fonts
Posted: Mon Jan 22, 2018 10:44 am
by tvonbrasch
great, thanks, i will see if that fixes the problem
thomas
Re: EPS figures in LATEX - something wrong with fonts
Posted: Wed Aug 11, 2021 6:58 am
by tvonbrasch
Hi,
I have a new and related issue with EPS files. The graph I have made looks like this in EViews:

- eviews.JPG (25.76 KiB) Viewed 21686 times
but, when saving it in EPS, it looks like this:

- eps.JPG (24.98 KiB) Viewed 21686 times
The blue circles do not look good...
Attached is the EViews workile with the graph object. Can you please help me save this graph in EPS format in a way that it looks similar to the EViews graph object?
t
Re: EPS figures in LATEX - something wrong with fonts
Posted: Wed Aug 11, 2021 7:06 am
by tvonbrasch
if I change the fonts to times new roman, I get the EPS picture:

- tnr.JPG (25.74 KiB) Viewed 21682 times
but the blue circles are still not looking good ...
t
Re: EPS figures in LATEX - something wrong with fonts
Posted: Wed Aug 11, 2021 9:49 am
by EViews Jason
It will be fixed in the next patch. There is an issue when calculating the radius of a circle in EPS.
Re: EPS figures in LATEX - something wrong with fonts
Posted: Wed Aug 11, 2021 11:24 am
by tvonbrasch
great, thanks!
Re: EPS figures in LATEX - something wrong with fonts
Posted: Thu Dec 09, 2021 9:33 am
by tvonbrasch
Hi,
I now have a similar problem with boxplots,
picture when including the eps picture in a latex file:

- 2021-12-09 17_27_37-hovedfil - PDF-XChange Editor.png (21.46 KiB) Viewed 20496 times
whats happening with the black circles? this is how it is supposed to be, i.e. the picture from EViews or when stored directly in png-format:

- gr_n.png (23.89 KiB) Viewed 20496 times
Can you please take a look at this?
Thomas