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?
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.
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.
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.