Title1 c=gra圓3 h=18pt "SGplot - Scatter Plot" Width=500px height=400px noborder noscale Ods graphics / imagefmt=png imagename="scatter_sgplot" Title1 h=18pt ls=1.5 "SAS/Graph Gplot - Scatter Plot" Order=(0 to 175 by 25) major=none minor=none offset=(0,0) Order=(0 to 80 by 20) major=none minor=none offset=(0,0) Īxis2 label=(font='albany amt/bold' height=12pt 'Weight (pounds)') Justify=center 'Height' justify=center '(inches)') Symbol1 value=circle height=13pt color=A0000ff88 Īxis1 label=(font='albany amt/bold' height=12pt Goptions device=png xpixels=500 ypixels=400Ĭback=cxFFFFE0 ctitle=gra圓3 ctext=gra圓3 htext=10pt I'll show the code & graphs first, and then explain the differences. but I'm trying to demonstrate all the bits-n-pieces that I typically use to create scatter plots, so you can see how to do those things using both techniques. You could probably create a very similar plot using less code. I chose a very simple graph, using 'fake' data from the sashelp data library, to keep things simple. you guessed it, my ' Rosetta Graphs'!įor my first example, I will focus on a scatter plot. To help the 'old timers' (like me) shift from using SAS/Graph to the newer ODS Graphics, I thought it might be useful to create a few examples showing how to generate the same graph in both - and I decided to call these examples. It had the same decree written on it in both ancient Egyptian and Greek, and was an essential key to help modern historians decipher and translate the ancient Egyptian hieroglyphs. You've probably heard of the famous Rosetta Stone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |