这是我生成简单正弦函数的代码。如何操作linePlotImageDisplay中X / Y轴标签和刻度的字体大小。?
Number N = 360, phase =60*pi()/180
image sine := RealImage("Sine Pattern", 4, N, 1)
sine = cos(4*pi()*(icol/N)-phase)
setDisplayType(sine, 4)
sine.ImageSetDimensionUnitString(0, "Angle (degree)" )
sine.ImageSetIntensityUnitString("Radius (pixels)" )
linePlotImageDisplay lpid = sine.imageGetImageDisplay(0)
lpid.linePlotImageDisplaySetDoAutoSurvey(0,0)
showImage(sine)
答案 0 :(得分:1)
您正在寻找的命令仅在较新的GMS版本中可用,并且仅在GMS 3之后进行记录。它们是:
jenkins-translate:
script:
- python jenkins-translate.py
void LinePlotImageDisplaySetFontSize( LinePlotImageDisplay lpid, Number size )
void LinePlotImageDisplaySetFontFamily( LinePlotImageDisplay lpid, string familyName )
void LinePlotImageDisplaySetFontAttributes( LinePlotImageDisplay lpid, number bold, number style )
以及F1帮助文档(最近的GMS版本)中描述的相应void LinePlotImageDisplaySetFontColor( LinePlotImageDisplay lpid, number r, number g, number b )
命令: