Page 1 of 1

Saving Graph

Posted: Mon Aug 27, 2018 8:54 am
by amrsherif
I have a very basic question about saving graphs.

I'm trying to save this attached graph (called graph) as a png file.

The output i get is missing the axis numbers (see attachment called output).

Am i missing a line of code? It PDFs fine (using the print command). But i'm unable to get "graph.save(t=png,w=4.5,h=3.08) c:\output" to work properly.

I've tried changing the width and height

Thank you

Re: Saving Graph

Posted: Mon Aug 27, 2018 8:55 am
by amrsherif
Forgot to attach the output file. Here it is

Re: Saving Graph

Posted: Mon Aug 27, 2018 10:49 am
by amrsherif
Never mind. I tweaked the template using background(black) and that worked.

Re: Saving Graph

Posted: Mon Aug 27, 2018 2:21 pm
by EViews Jason
We would still like to take a look at the problem and get it fixed. If you don't mind, please send your workfile to jason@eviews.com.

Re: Saving Graph

Posted: Mon Sep 03, 2018 8:28 am
by amrsherif
Ok. Will send you the workfile (and a more detailed explanation) at some point this week, although i think the issues was with my code for the template.