Picture1,y轴的方向问题

a_aaaa8888 a_aaaa8888 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

Private Sub Command2_Click()
Dim i As Integer, it As Integer, s As Integer, m As Integer, d As Integer, ii As Integer, g As Integer
Picture1.AutoRedraw = True
Picture1.Scale (0, 0)-(100, 30)

For it = 1 To MSFlexGrid1.Rows - 3
s = MSFlexGrid1.TextMatrix(it, 5)

m = MSFlexGrid1.TextMatrix(it + 1, 5)
g = MSFlexGrid1.TextMatrix(it + 2, 5)
Picture1.Line (it, Val(s))-(it + 1, Val(m))

Picture1.Print Val(g)
Next

End Sub


现在y轴的0在Picture1的左上方,数据越大,他越向下,看起来很费劲,如何改成y轴的0在Picture1的左下方,然后数据越大越向上呢,这样符合观看的规律
...全文
评论 1
收藏 已收藏
分享
返回顶部
a_aaaa8888
VB基础类 7,788 成员 197,583 内容