SAS中文论坛
标题:
Merry Christmas!
[打印本页]
作者:
shiyiming
时间:
2011-12-17 00:15
标题:
Merry Christmas!
From Dapangmao's blog on sas-analysis
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-fLJDI1_HKBk/TuJwTU6D7pI/AAAAAAAAA4Y/BjcoCfRSfbQ/s1600/SGPlot.png" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="http://1.bp.blogspot.com/-fLJDI1_HKBk/TuJwTU6D7pI/AAAAAAAAA4Y/BjcoCfRSfbQ/s400/SGPlot.png" /></a></div>Just for fun.<br />
<pre style="background-color: #ebebeb; border: 1px dashed rgb(153, 153, 153); color: #000001; font-size: 14px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"><code>
data cars;
set sashelp.cars;
length label $10.;
keep invoice weight enginesize type label;
if _n_ = 1 then label = 'Merry';
if _n_ = 50 then label = 'Christmas';
run;
proc sgplot data = cars noautolegend;
bubble x = invoice y = weight size = enginesize / group = type datalabel = label datalabelattrs=(color=red
family="garamond" style=italic size=45 weight= bold) transparency=0.4;
xaxis max = 80000 label = ' '; yaxis label = ' ' max = 6000;
run;
</code></pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3256159328630041416-6808679316074453838?l=www.sasanalysis.com' alt='' /></div><img src="http://feeds.feedburner.com/~r/SasAnalysis/~4/FkRTCdalAcQ" height="1" width="1"/>
欢迎光临 SAS中文论坛 (http://mysas.net/forum/)
Powered by Discuz! X3.2