楼主: heperwong
1504 1

关于GLT精确定义坐标轴的问题 [推广有奖]

  • 0关注
  • 4粉丝

博士生

52%

还不是VIP/贵宾

-

威望
0
论坛币
2588 个
通用积分
477.8876
学术水平
44 点
热心指数
49 点
信用等级
33 点
经验
10264 点
帖子
209
精华
0
在线时间
388 小时
注册时间
2013-1-14
最后登录
2024-3-18

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
关于用GLT我一直有个疑问,比如用SGPLOT,用yaxis,xaxis中的values可以定义坐标值,但是我想精确定义minor,比如minor=5,minor=10,可是在GLT中根本没有此选项,然后我查了很多用GLT作的图,也没有发现XY轴有minor的,所以想请教大神们是怎么控制minor的?
二维码

扫码加我 拉你入群

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

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

关键词:坐标轴 values sgplot minor gplot 坐标轴

沙发
邓贵大 发表于 2013-11-25 23:16:47 |只看作者 |坛友微信交流群
It's not supported in SAS 9.3 yet.
https://communities.sas.com/thread/41767
One workaround is to hide the tick values for some
  1. proc format;
  2.         value xafmt
  3.         0,20,40,60,80,100=[3.]
  4.         other='   '
  5.         ;
  6. proc sgplot data=sashelp.class;
  7.         scatter x=height y=weight;
  8.         xaxis tickvalueformat=xafmt. values=(0 to 100 by 5);
  9. run;
复制代码
but the minor ticks still appear too long. To alter the appearance of minor ticks, you'll need annotation, for example,
http://analytics.ncsu.edu/sesug/2012/RI-16.pdf
已有 2 人评分经验 学术水平 热心指数 信用等级 收起 理由
heperwong + 1 + 1 + 1 分析的有道理
crackman + 100 鼓励积极发帖讨论

总评分: 经验 + 100  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

Be still, my soul: the hour is hastening on
When we shall be forever with the Lord.
When disappointment, grief and fear are gone,
Sorrow forgot, love's purest joys restored.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 08:52