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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.