NOGTITLE

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

NOGTITLE

Hi everyone!!!

Please, i need your help, I don't find any answer on the internet....

I tried to use the "NOGTITLE NOGFOOTNOTE" options.

When I did not use those options my graphic is ok but I have titles in the graphics and I want them out of it

When I do use those options, I can't see the bottom of my graphics.....

Here are my 2 codes :

/* First: Without the options */

ods rtf body="&path\erreur.doc"  nogtitle nogfootnote;

title1 'Erreur';

title2 'I do not see the bottom of the graph';

title3 'titre 3';

title4 'titre 4';

title5 'titre 5';

title6 'titre 6';

title7 'titre 7';

proc gchart data=sashelp.class;

    vbar age / DISCRETE;

run;

ods rtf close;

ods listing;

/* Second: With the options */

ods rtf body="&path\good.doc" gtitle gfootnote;

title1 'Good';

title2 'I can see all my graphic';

title3 'titre 3';

title4 'titre 4';

title5 'titre 5';

title6 'titre 6';

title7 'titre 7';

proc gchart data=sashelp.class;

    vbar age / DISCRETE;

run;

ods rtf close;

ods listing;


Accepted Solutions
Solution
‎10-13-2014 05:25 AM
New Contributor
Posts: 4

Re: NOGTITLE

Options are:

goption hsize=30cm vsize=13cm;

If anyone has the same problem you have to play with the value of those 2 options (hsize/vsize) in order to have a graph which fit.

But this is the first time that sas didn't find itself a way to fit my graphic.....

View solution in original post


All Replies
Super User
Posts: 10,500

Re: NOGTITLE

There are goptions to control the size of your graphs. It may be that the size you have currently is exceeding what will appear on one page by just enough that the RTF engine thinks it fits and doesn't move it to the next page.

New Contributor
Posts: 4

Re: NOGTITLE

Hi,

Thank you for your answer but...

Do you know those options?

I never used options to fit a graphic on a page....

Normaly SAS do it itself...

If a graphic is big, then SAS will reduce the size to fit it....

Solution
‎10-13-2014 05:25 AM
New Contributor
Posts: 4

Re: NOGTITLE

Options are:

goption hsize=30cm vsize=13cm;

If anyone has the same problem you have to play with the value of those 2 options (hsize/vsize) in order to have a graph which fit.

But this is the first time that sas didn't find itself a way to fit my graphic.....

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 351 views
  • 3 likes
  • 2 in conversation