提取对话框的属性

时间:2019-06-07 11:00:26

标签: stata

Stata的图形依赖于类和对象,而这些类和对象没有文档

使用classutil命令可以看到以下内容:

sysuse auto, clear
twoway scatter mpg price

classutil describe .Graph.plotregion1

plotregion .Graph.plotregion1:
   classwide:
        dbstyle      .dbstyle
   instancespecific:
        plotregionstyle .style
        (output omitted)
        double       .drawn_gmult   = 1
        double       .drawn_yalpha  = -2225.574929548387
        double       .drawn_ybeta   = 589.5383153548387
        double       .drawn_xalpha  = 3669.808224
        double       .drawn_xbeta   = 1.697641630579655
        double       .drawn_gbeta   = 232.72
        string       .dialog        = "plotregion"
        (output omitted)

这些也可以根据需要进行操作:

display `.Graph.plotregion1.drawn_yalpha'
-2225.5749

display "`.Graph.plotregion1.dialog'"
plotregion

对话框是否有类似内容?

例如,我想提取对话框的尺寸或位置。

0 个答案:

没有答案