Data visualization with SAS programming

warning about axis midpoint values

Reply
Frequent Contributor
Posts: 75

warning about axis midpoint values

so i am ploting a surface using the activex device:

GOPTIONS DEVICE=ACTIVEX xpixels=650 ypixels=650 border;

ODS LISTING CLOSE; ODS HTML parameters=('tips'='false');

proc g3d data=xxx;

   plot y*x=z / grid contour=1 style=3 zmin=0 zmax=1 xaxis=axis1 yaxis=axis2; 

run; quit;

ODS HTML CLOSE; ODS LISTING;

axis1 order=(0 to 16 by 1);

axis2 order=(0 to 24 by 1);

now y has a range of 0 to 24 by 1 and x has a range of 0 to 16 by 1 (as seen in the axis statements). however i get this warning;

WARNING: Order value specified in the AXIS statement does not match a midpoint value.

WARNING: Order value specified in the AXIS statement does not match a midpoint value.

when i run it with the default destinations it dont get the warning messages:

goptions reset=goptions;

proc g3d data=xxx;

plot y*x=z / grid zmin=0 zmax=1 xaxis=axis1 yaxis=axis2;

run;

im thinking it has something to do with the html destination??? any ideas?

Trusted Advisor
Posts: 1,510

Re: warning about axis midpoint values

I think this msg means that the fonts are too large to label the axis tick values as specified.

Different sas/graph devices have different font size rendering for some very bad reason, even when the font size is explicitly specified.

Try reducing your font size or the number of ticks, in case that is the cause, or try a different devices like JPEG.

Ask a Question
Discussion stats
  • 1 reply
  • 620 views
  • 0 likes
  • 2 in conversation