BookmarkSubscribeRSS Feed
trekvana
Calcite | Level 5

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?

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1505 views
  • 0 likes
  • 2 in conversation