BookmarkSubscribeRSS Feed
tc
Lapis Lazuli | Level 10 tc
Lapis Lazuli | Level 10

Memorial DayMemorial Day

* Memorial Day 2020;

data cross;                   * Create points for cross;
color=.;                      * 10x10 base (no color);
x=0;  y=0;  z=-.01; output; 
x=10; y=0;  z=-.01; output;
x=0;  y=10; z=-.01; output;
x=10; y=10; z=-.01; output;
color=1;                      * 1=Light grey;
x=4.5; y=4.5; z=0;    output; * 3D cross vertices;
x=5.5; y=4.5; z=0;    output;
x=4.5; y=5.5; z=0;    output;
x=5.5; y=5.5; z=0;    output;
x=4.5; y=5.5; z=10.5; output;
x=5.5; y=5.5; z=10.5; output;
x=4.5; y=7.5; z=10.5; output;
x=5.5; y=7.5; z=10.5; output;
x=4.5; y=7.5; z=12;   output;
x=5.5; y=7.5; z=12;   output;
x=4.5; y=5.5; z=12;   output;
x=5.5; y=5.5; z=12;   output;
x=4.5; y=5.5; z=17;   output;
x=5.5; y=5.5; z=17;   output;
x=4.5; y=4.5; z=17;   output;
x=5.5; y=4.5; z=17;   output;
x=4.5; y=4.5; z=12;   output;
x=5.5; y=4.5; z=12;   output;
x=4.5; y=2.5; z=12;   output;
x=5.5; y=2.5; z=12;   output;
x=4.5; y=2.5; z=10.5; output;
x=5.5; y=2.5; z=10.5; output;
x=4.5; y=4.5; z=10.5; output;
x=5.5; y=4.5; z=10.5; output;
x=4.5; y=4.5; z=0;    output; 
x=5.5; y=4.5; z=0;    output;
x=4.5; y=5.5; z=0;    output;
x=5.5; y=5.5; z=0;    output;

proc template;                * Use GTL to draw 3D cross;
define statgraph cross;
begingraph;
layout overlay3d / cube=false xaxisopts=(display=none) yaxisopts=(display=none) zaxisopts=(display=none);
surfaceplotparm x=x y=y z=z / surfacetype=fill colorresponse=color colormodel=(lightgrey);
endlayout;
endgraph;
end;

proc sgrender data=cross template=cross;
run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 669 views
  • 6 likes
  • 1 in conversation