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;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 732 views
  • 6 likes
  • 1 in conversation