gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 17:35:54 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com