08-16-2012 09:32 AM
I'm using PROC LIFETEST to create a Kaplan Meier curve.
Example of code:
nocenter nodate number linesize=95 topmargin="2 cm" bottommargin="2 cm" papersize=A4;
rtf file= 'c:\Survival.rtf' ;
PROC LIFETEST data=ds_input plots=(s) noprint;
STRATA var1/test=(logrank wilcoxon);
SYMBOL1 v=none color=red;
SYMBOL2 v=none color=blue;
AXIS1 label=(angle=90 'Survival function');
In the code log there's the following warning message:
WARNING: The specified/default value of VSIZE of 5.0000 inches and VORIGIN of 0.0000 inches exceeds the maximum for the PNG printer. VSIZE is changed to 3.4167 inches.
I see the Kaplan Meier curve in the output but not in the rtf file.
Could anyone help me?
Thanks in advance
08-16-2012 11:46 AM
Did your first two lines get cut off?
options nocenter nodate number ....; Missing the options keyword
ODS RTF File= '...' ; Mising the ODS keyword?
Also, since you're doing ODS you need ODS GRAPHICS ON; to be above your code somewhere as well.
08-16-2012 03:20 PM
..Yes, sorry I didn't copy option nocenter... and ods rtf..
I think the code I run it's correct (ODS Graphics on is not required since the NOPRINT option is specified), but I can't understand the WARNING message..
05-16-2016 10:50 PM
I get the same warning: "WARNING: The specified/default value of VSIZE of 8.0000 inches and VORIGIN of 0.0000 inches exceeds themaximum for the PNG printer. VSIZE is changed to 6.638 inches.". But I use GPLOT to do create the graph in HTML file.
and I use SAS 9.4. The ZPNG is disabled here. Can you please suggest me any other solution. It will be great if you could please explain why this warning comes up. Thank you in advance
Need further help from the community? Please ask a new question.