Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Matlab 很陌生,我想用误差线制作一个情节。我有一个向量中的误差,以测量值的百分比表示。我曾尝试使用 Matlab 的错误栏,但它只是以一种奇怪的方式改变了情节。
标准用法是errorbar(x,y,yerr, ...options...).
errorbar(x,y,yerr, ...options...)
在你的情况下听起来像yerr = y.*percenterr/100
yerr = y.*percenterr/100