the code:
data ex;
do x=-5 to 5 by 0.2;
do y=-5 to 5 by 0.2;
z=x*y+y*y;
output;end;end;
proc g3d;
plot y*x=z;
run;
the problem:
error:procedure g3d no fand.
I am using SAS University Edition. I am a Chinese college student and I am currently studying in China.
thank you😃
data ex;
do x=-5 to 5 by 0.2;
do y=-5 to 5 by 0.2;
z=x*y+y*y;
output;end;end;
run;
proc template;
define statgraph surfparm;
begingraph;
entrytitle "Bilinear Interpolation";
layout overlay3d;
surfaceplotparm x=x y=y z=z / colorresponse=z
colormodel=(CX3288BD CX99D594 CXE6F598 CXFFFFBF CXFEE08B CXFC8D59 CXD53E4F)
surfacetype=fillgrid;
endlayout;
endgraph;
end;
run;
proc sgrender data=ex template=surfparm;
run;
Why: The classic graph procedures such as Gchart, Gplot and G3d are not part of the University Edition.
PROC G3D is part of SAS/GRAPH which is not included in the license for SAS UE.
Instead, you can use SG procedures, which produce better quality graphics in general.
@Ksharp has provided you the translated code.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.