EPS figures in LATEX - something wrong with fonts

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Sun Jan 21, 2018 11:58 am

Hi

I have made the following graph in Eviews
eviews.PNG
eviews.PNG (24.65 KiB) Viewed 20625 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
latex.PNG (17.1 KiB) Viewed 20625 times


Why is this happening with the fonts?
Thomas

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: EPS figures in LATEX - something wrong with fonts

Postby EViews Gareth » Sun Jan 21, 2018 12:36 pm

Looks much better! Keep it!
Follow us on Twitter @IHSEViews

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Mon Jan 22, 2018 8:28 am

:D
For some reason, the font Arial works fine.....

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: EPS figures in LATEX - something wrong with fonts

Postby startz » Mon Jan 22, 2018 9:09 am

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.

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Mon Jan 22, 2018 10:44 am

great, thanks, i will see if that fixes the problem
thomas

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Wed Aug 11, 2021 6:58 am

Hi,

I have a new and related issue with EPS files. The graph I have made looks like this in EViews:
eviews.JPG
eviews.JPG (25.76 KiB) Viewed 18042 times


but, when saving it in EPS, it looks like this:
eps.JPG
eps.JPG (24.98 KiB) Viewed 18042 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
Attachments
eps.wf1
(496.03 KiB) Downloaded 199 times

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Wed Aug 11, 2021 7:06 am

if I change the fonts to times new roman, I get the EPS picture:
tnr.JPG
tnr.JPG (25.74 KiB) Viewed 18038 times


but the blue circles are still not looking good ...
t

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: EPS figures in LATEX - something wrong with fonts

Postby EViews Jason » Wed Aug 11, 2021 9:49 am

It will be fixed in the next patch. There is an issue when calculating the radius of a circle in EPS.

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Wed Aug 11, 2021 11:24 am

great, thanks!

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EPS figures in LATEX - something wrong with fonts

Postby tvonbrasch » Thu Dec 09, 2021 9:33 am

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
2021-12-09 17_27_37-hovedfil - PDF-XChange Editor.png (21.46 KiB) Viewed 16852 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
gr_n.png (23.89 KiB) Viewed 16852 times


Can you please take a look at this?
Thomas


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 11 guests