【发布时间】:2020-12-19 13:03:04
【问题描述】:
我想使用带有 Latex 表达式的“文本”标记并使用 Vega-Lite 绘制它。这可能吗?例如:
data = {x:[0,1,2,3],y:[0,1,2,3],t=["x^0","x^1","x^2","x^3"]}
{
"data":data
}],
"mark": "text",
"encoding": {
"x": {"field": "x", "type": "quantitative"},
"y": {"field": "y", "type": "quantitative"},
"text": {"field": "t", "type": "nominal"}
}
}
【问题讨论】:
标签: plot latex visualization vega-lite