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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1299 views
  • 0 likes
  • 2 in conversation