Page 2 of 2
Re: Saving graphs as pdf
Posted: Mon Apr 27, 2026 7:33 am
by EViews Gareth
Line 27 of the program:
What's that?
Re: Saving graphs as pdf
Posted: Tue Apr 28, 2026 7:04 am
by Dag Kolsrud
"ps graphs" selects a quarterly page in the workfile "data_xchange_housing_oil" which contains the figures and the spool. When issuing a line command from that page the result gets stored there, but the graphs of series on other pages with higher frequencies, e.g. the page "w" with weekly frequency, do not get dashed. If you uncomment the "ps w" command on line 63, the graphs get dashed. Why does the different frequencies decide whether a series get dashed or not?
Re: Saving graphs as pdf
Posted: Tue Apr 28, 2026 8:33 am
by EViews Gareth
Sorry, I'm getting quite lost.
As far as I can tell, the issue you are experiencing is that you have a graph object that when saved to disk as a PDF, the dashed lines don't appear.
Do you have a workfile we can use that has such a graph object?
Re: Saving graphs as pdf
Posted: Mon May 04, 2026 12:36 am
by Dag Kolsrud
My email on April 27had 2 attachments; a workfile and a program. The program produces 3 figures, which are collected in a spool, on a quarterly page called 'grpahs'. In Statistics Norway we experience 2 problems:
1) Graph lines in the figure code with the "dash" attribute do not always appear dashed in EViews. Sometimes they are graphed solid rather than dashed despite the dashed attribute. The dash attribute does not seem to work when variables on a page with higher frequency are graphed from a page with lower frequency. That is what my email from April 27 tries to explain.
2) Another problem is that when graphed lines appear correctly as dashed in EViews, they get saved to file in the pdf format as solid lines in EViews 14, but correctly as dashed lines in EViews 12 using the printer driver "Microsoft Print to PDF.
I appologize for combining rather than clearly separating the two problems. However, I still hope you can understand and investigate the problem from the previously attached files.
Sincerely, Dag
Re: Saving graphs as pdf
Posted: Mon May 04, 2026 9:42 am
by EViews Gareth
I think both issues are due to opacity - opacity doesn't work well with dashed lines. If you turn off opacity for all the lines in the chart, it should behave better.
Re: Saving graphs as pdf
Posted: Thu May 07, 2026 1:59 am
by Dag Kolsrud
Opacity options have been tried before and did not help, see communications in June 2024 with EViews Steve.
Re: Saving graphs as pdf
Posted: Thu May 07, 2026 7:53 am
by EViews Gareth
Sorry, opacity and anti-aliasing.