annotations - 如何在 Julia Plots 中制作 3D 注释

标签 annotations julia plots.jl

Julia Plots 中的注释属性根据 documentation,似乎只采用 x,y 坐标和标签的元组.有没有办法在 3D 绘图上做到这一点?例如:

tvec=0:0.1:4*pi
plot(sin, tvec)
annotate!(pi/2,1.0,"max")
annotate!(3*pi/2,-1.0,"min")

产生
enter image description here
但是你如何添加一些东西
tvec=0:0.1:4*pi
plot(tvec, sin(tvec), cos(tvec))

使用同类型annotate!命令似乎注释到叠加的二维坐标上。
enter image description here

最佳答案

根据 Julia Plots ( Plots.jl ) 文档发现 here 、GR、PyPlot 和 Plotly(JS) 都支持某种形式的 3D 绘图。值得深入研究一些示例 here探索这些不同的后端如何支持 3D 绘图。

关于annotations - 如何在 Julia Plots 中制作 3D 注释,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41333965/

相关文章:

java - 试图理解Spring的@RunWith、@ContextConfiguration;和 Ant

julia - julia 0.6 中的质因数分解

csv - 如何使用 Julia CSV 包 rowWriter?

julia - 手动设置 DataFrame Julia 中分组直方图 bin 的 bin 大小

julia - 如何使用 Plots.jl 在 Julia 中显示绘图?

java - 我可以向 JAX-RS 方法添加自定义注释以验证访问吗?

java - 创建自定义 Nullable 注释

performance - Julia 的特征分解比 Mathematica 慢 5 倍?

julia - plots.jl 中是否有任何 ax.view_init(elev, azim) 等效函数?

javascript - JSDoc:类型 'value' 上不存在属性 'EventTarget'