MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   在MATLAB中使用errorbar()与Semilogy()? (https://www.labfans.com/bbs/showthread.php?t=23810)

poster 2019-12-10 20:48

在MATLAB中使用errorbar()与Semilogy()?
 
我想绘制的数据x和y与errorbars, ebar ,其配合, yfitted ,在半对数图。这似乎不起作用:

figure; hold on; errorbar(x,y,ebar); semilogy(x,yfitted); 代替半对数图,我得到了线性图。我应该怎么做?



[B]回答:[/B]

尝试

h = errorbar(x,y,ebar); set(get(h,'Parent'), 'YScale', 'log') 要么

ax = axes(); errorbar(ax, x,y,ebar); set(ax, 'YScale', 'log');

[url=https://stackoverflow.com/questions/3550241]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 14:17

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.