在 SAS University Edition 中绘制 3d 图形
Plotting 3d graphs in SAS University Edition
我正在使用 SAS 大学版,我正在尝试寻找一种输出 3d 图形的方法。我知道的程序:
g3d
g3grid
但是我的 SAS 版本中没有它们,我一直在寻找类似的东西但无济于事。
它可能比使用 g3d
/g3grid
多做一些工作,但您可以为 z 轴变量的每个波段创建一个具有单独系列的散点图,为每个系列提供一个不同的颜色。您可以使用 proc sgplot
或 proc sgscatter
来执行此操作。
最后我可以解决这个问题并设法使用模板和 overlay3d
:
proc template;
define statgraph surface;
begingraph;
layout overlay3d;
surfaceplotparm x=gxc y=gyc z=estimate;
endlayout;
endgraph;
end;
run;
proc sgrender data=input template=surface;
run;
我正在使用 SAS 大学版,我正在尝试寻找一种输出 3d 图形的方法。我知道的程序:
g3d
g3grid
但是我的 SAS 版本中没有它们,我一直在寻找类似的东西但无济于事。
它可能比使用 g3d
/g3grid
多做一些工作,但您可以为 z 轴变量的每个波段创建一个具有单独系列的散点图,为每个系列提供一个不同的颜色。您可以使用 proc sgplot
或 proc sgscatter
来执行此操作。
最后我可以解决这个问题并设法使用模板和 overlay3d
:
proc template;
define statgraph surface;
begingraph;
layout overlay3d;
surfaceplotparm x=gxc y=gyc z=estimate;
endlayout;
endgraph;
end;
run;
proc sgrender data=input template=surface;
run;