搜索
人大经济论坛 附件下载

附件下载

所在主题:
文件名:  Auto-calculator of the graphic yaxis tickvalues for GRAPHICS II.docx
资料下载链接地址: https://bbs.pinggu.org/a-2473536.html
附件大小:
410.71 KB   举报本内容
这对于大规模生成成千上万张图的需要各种各样y轴值的SAS procedure特别极其方便。

When we plot graphics using SAS PROC TEMPLATE or PROC GPLOT or other procedures, we need to decide the x-axis and y-axis tick-value list. However when we plot hundreds or thousands line, bar graphics using SAS, how could we automatically calculate the y-axis tick-values is a huge challenge. My sub-engine can automatically calculate and provide nice y-axis tick-values for sets of minimum and maximum values. Once you decide the minimum and maximum values among a set of numbers, you can use this sub-engine to automatically calculate your x-axis and y-axis tick-values including yaxisopts tickvaluelist, yaxisopts tickvalueformat, barchart statement barlabelformat, referencelinecurvelabel, xaxisopts tickdisplaylist and xaxisopts tickvaluelist, and more when you use PROC TEMPLATE, PROC GPLOT or other procedures.

Here are the features:
1, the increment values are 1, 1.25, 2, 2.5, 5, 10 … and their … 0.0001, 0.001, 0.01, 1, 10, 100, 1000 … times; it is easy to count with mind only.
2, the number of grids are between 6 and 15, we can make this number smaller if need;
3, the gaps between maximum value and the upper-band are no more than 2 or 3 times of increment values;
4, the gaps between minimum value and the low-band are no more than 2 or 3 times of increment values except that the low_band is 0;
5, the y-axis tick-values are always including 0 value;
6, the biggest and smallest values are always covered by the up and low bands;
7, This calculator will automatically calculate and define the parameters of yaxisopts origin, yaxisopts viewmin, yaxisopts tickvaluelist, yaxisopts tickvalueformat, barchart statement barlabelformat, referencelinecurvelabel, xaxisopts tickdisplaylist and xaxisopts tickvaluelist.
In the calculator engine, we call them as
%GLOBAL ytickvaluelist_&page._&postn
ytickdisplaylist_&page._&postn(you can add it into the engine by yourself)
xtickvaluelist_&page._&postn
xtickdisplaylist_&page._&postn
curvelabel_&page._&postn
tickvalueformat_&page._&postn
origin_&page._&postn
xtickvaluelist_&page._&postn
xtickdisplaylist_&page._&postn ;

8, the tickvalueformat_&page._&postn will make all values in the image with same format, please see the first graphics.




    熟悉论坛请点击新手指南
下载说明
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。
2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。
3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。
(如有侵权,欢迎举报)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

GMT+8, 2026-2-4 07:26